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
1 changed files with 1 additions and 0 deletions

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;
} }