1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

avfilter/vsrc_life: set outlink frame_rate

This commit is contained in:
Paul B Mahol 2022-03-25 17:55:43 +01:00
parent 3d131545ea
commit a660136daa

View File

@ -284,6 +284,7 @@ static int config_props(AVFilterLink *outlink)
outlink->w = life->w; outlink->w = life->w;
outlink->h = life->h; outlink->h = life->h;
outlink->time_base = av_inv_q(life->frame_rate); outlink->time_base = av_inv_q(life->frame_rate);
outlink->frame_rate = life->frame_rate;
return 0; return 0;
} }