mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-03-25 04:19:05 +00:00
avfilter/avf_showspectrum: properly initialize pts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
8fb00b3e85
commit
49d0678181
@ -299,6 +299,8 @@ static int config_output(AVFilterLink *outlink)
|
|||||||
int i, fft_bits, h, w;
|
int i, fft_bits, h, w;
|
||||||
float overlap;
|
float overlap;
|
||||||
|
|
||||||
|
s->pts = AV_NOPTS_VALUE;
|
||||||
|
|
||||||
if (!strcmp(ctx->filter->name, "showspectrumpic"))
|
if (!strcmp(ctx->filter->name, "showspectrumpic"))
|
||||||
s->single_pic = 1;
|
s->single_pic = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user