[FFmpeg-cvslog] avfilter/avf_showspectrum: properly initialize pts
Paul B Mahol
git at videolan.org
Mon May 22 12:09:20 EEST 2017
ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon May 22 11:06:48 2017 +0200| [49d0678181af67455dfd23b98ab3857db1b68e67] | committer: Paul B Mahol
avfilter/avf_showspectrum: properly initialize pts
Signed-off-by: Paul B Mahol <onemda at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=49d0678181af67455dfd23b98ab3857db1b68e67
---
libavfilter/avf_showspectrum.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index bf0c24437e..ff66740a3a 100644
--- 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;
More information about the ffmpeg-cvslog
mailing list