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:
parent
5c2d333ecf
commit
38804e0e23
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user