summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2017-05-22 11:06:48 +0200
committerPaul B Mahol <onemda@gmail.com>2017-05-22 11:06:48 +0200
commit49d0678181af67455dfd23b98ab3857db1b68e67 (patch)
treea57d29bba9fb3c903316fdf9aa66779008d8ba99
parent8fb00b3e858b7a5aeccfe6bdfc10290c2121c3ec (diff)
avfilter/avf_showspectrum: properly initialize pts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--libavfilter/avf_showspectrum.c2
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;