OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fb00b3
)
avfilter/avf_showspectrum: properly initialize pts
author
Paul B Mahol
<onemda@gmail.com>
Mon, 22 May 2017 09:06:48 +0000
(11:06 +0200)
committer
Paul B Mahol
<onemda@gmail.com>
Mon, 22 May 2017 09:06:48 +0000
(11:06 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/avf_showspectrum.c
patch
|
blob
|
history
diff --git
a/libavfilter/avf_showspectrum.c
b/libavfilter/avf_showspectrum.c
index
bf0c244
..
ff66740
100644
(file)
--- a/
libavfilter/avf_showspectrum.c
+++ b/
libavfilter/avf_showspectrum.c
@@
-299,6
+299,8
@@
static int config_output(AVFilterLink *outlink)
int i, fft_bits, h, w;
float overlap;
+ s->pts = AV_NOPTS_VALUE;
+
if (!strcmp(ctx->filter->name, "showspectrumpic"))
s->single_pic = 1;