1
mirror of https://git.videolan.org/git/ffmpeg.git synced 2024-07-19 02:41:38 +02:00

avfilter/avf_showspectrum: properly initialize pts

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2017-05-22 11:06:48 +02:00
parent 8fb00b3e85
commit 49d0678181

View File

@ -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;