Commit 49d06781 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/avf_showspectrum: properly initialize pts

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 8fb00b3e
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment