diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-08-16 16:26:11 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-10-04 11:55:03 +0200 |
commit | 06758370aafc7f89344c91d3d05c41c606ad03eb (patch) | |
tree | 0235ab9358d63e2395bdb8261ce1d392e65cd185 /libavfilter/avf_showfreqs.c | |
parent | dc686a0c22ce90800030c6968b689f723b53cb3f (diff) | |
download | ffmpeg-06758370aafc7f89344c91d3d05c41c606ad03eb.tar.gz |
lavfi/avf_showfreqs: set frame durations
The filter is supposed to produce CFR output.
Diffstat (limited to 'libavfilter/avf_showfreqs.c')
-rw-r--r-- | libavfilter/avf_showfreqs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_showfreqs.c b/libavfilter/avf_showfreqs.c index 86a67c7328..cc7d6204b4 100644 --- a/libavfilter/avf_showfreqs.c +++ b/libavfilter/avf_showfreqs.c @@ -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); } |