diff options
author | Paul B Mahol <onemda@gmail.com> | 2017-05-22 11:06:48 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-05-22 11:06:48 +0200 |
commit | 49d0678181af67455dfd23b98ab3857db1b68e67 (patch) | |
tree | a57d29bba9fb3c903316fdf9aa66779008d8ba99 /libavfilter/avf_showspectrum.c | |
parent | 8fb00b3e858b7a5aeccfe6bdfc10290c2121c3ec (diff) | |
download | ffmpeg-49d0678181af67455dfd23b98ab3857db1b68e67.tar.gz |
avfilter/avf_showspectrum: properly initialize pts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavfilter/avf_showspectrum.c')
-rw-r--r-- | libavfilter/avf_showspectrum.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |