[FFmpeg-cvslog] avfilter/vsrc_mptestsrc: set outlink frame_rate

Paul B Mahol git at videolan.org
Fri Mar 25 19:19:15 EET 2022


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Mar 25 17:50:51 2022 +0100| [38804e0e23bb5dc1385332adc9f2bb63bc23df49] | committer: Paul B Mahol

avfilter/vsrc_mptestsrc: set outlink frame_rate

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

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

diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c
index f1bb777efa..03073dcf5a 100644
--- a/libavfilter/vsrc_mptestsrc.c
+++ b/libavfilter/vsrc_mptestsrc.c
@@ -286,6 +286,7 @@ static int config_props(AVFilterLink *outlink)
     outlink->w = WIDTH;
     outlink->h = HEIGHT;
     outlink->time_base = av_inv_q(test->frame_rate);
+    outlink->frame_rate = test->frame_rate;
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list