1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavfi/avf_showfreqs: set frame durations

The filter is supposed to produce CFR output.
This commit is contained in:
Anton Khirnov 2022-08-16 16:26:11 +02:00
parent dc686a0c22
commit 06758370aa

View File

@ -469,6 +469,7 @@ static int plot_freqs(AVFilterLink *inlink, int64_t pts)
av_free(colors);
out->pts = s->pts;
out->duration = 1;
out->sample_aspect_ratio = (AVRational){1,1};
return ff_filter_frame(outlink, out);
}