[FFmpeg-cvslog] avfilter/vsrc_sierpinski: set frame_rate to outlink

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


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

avfilter/vsrc_sierpinski: set frame_rate to outlink

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

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

diff --git a/libavfilter/vsrc_sierpinski.c b/libavfilter/vsrc_sierpinski.c
index 1c81a2f4fd..898fb5ae54 100644
--- a/libavfilter/vsrc_sierpinski.c
+++ b/libavfilter/vsrc_sierpinski.c
@@ -149,6 +149,7 @@ static int config_output(AVFilterLink *outlink)
     outlink->h = s->h;
     outlink->time_base = av_inv_q(s->frame_rate);
     outlink->sample_aspect_ratio = (AVRational) {1, 1};
+    outlink->frame_rate = s->frame_rate;
     if (s->seed == -1)
         s->seed = av_get_random_seed();
     av_lfg_init(&s->lfg, s->seed);



More information about the ffmpeg-cvslog mailing list