mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-26 01:02:33 +00:00
avfilter/vsrc_sierpinski: set frame_rate to outlink
This commit is contained in:
parent
d57a213998
commit
75929ed62b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user