You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
avfilter/avf_showspectrum: properly initialize pts
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user