diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-03-25 17:49:08 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-03-25 18:20:01 +0100 |
commit | 5c2d333ecf29965ee867ba12cc07369144ccd792 (patch) | |
tree | 00a5ae259fd947aa67a1ee6b1fb513e2575330d5 /libavfilter/vsrc_gradients.c | |
parent | a45b71570aae2bb50f274362367f692d7fcebac3 (diff) | |
download | ffmpeg-5c2d333ecf29965ee867ba12cc07369144ccd792.tar.gz |
avfilter/vsrc_gradients: set outlink frame_rate
Diffstat (limited to 'libavfilter/vsrc_gradients.c')
-rw-r--r-- | libavfilter/vsrc_gradients.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/vsrc_gradients.c b/libavfilter/vsrc_gradients.c index 1eb72659e0..ac29fec9ed 100644 --- a/libavfilter/vsrc_gradients.c +++ b/libavfilter/vsrc_gradients.c @@ -294,6 +294,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); |