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

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


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Mar 25 17:55:43 2022 +0100| [a660136daa94817dc6ac6e72a3ff714d1050e978] | committer: Paul B Mahol

avfilter/vsrc_life: set outlink frame_rate

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

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

diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c
index 38df2a6a57..d40c38b953 100644
--- a/libavfilter/vsrc_life.c
+++ b/libavfilter/vsrc_life.c
@@ -284,6 +284,7 @@ static int config_props(AVFilterLink *outlink)
     outlink->w = life->w;
     outlink->h = life->h;
     outlink->time_base = av_inv_q(life->frame_rate);
+    outlink->frame_rate = life->frame_rate;
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list