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

avfilter/vsrc_mptestsrc: set outlink frame_rate

This commit is contained in:
Paul B Mahol 2022-03-25 17:50:51 +01:00
parent 5c2d333ecf
commit 38804e0e23

View File

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