ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Tue Aug 16 
16:26:11 2022 +0200| [06758370aafc7f89344c91d3d05c41c606ad03eb] | committer: 
Anton Khirnov

lavfi/avf_showfreqs: set frame durations

The filter is supposed to produce CFR output.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=06758370aafc7f89344c91d3d05c41c606ad03eb
---

 libavfilter/avf_showfreqs.c | 1 +
 1 file changed, 1 insertion(+)

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);
 }

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to