mirror of https://git.ffmpeg.org/ffmpeg.git
vf_fps: set frame_rate.
(cherry picked from ffmpeg commit 0d24931604
)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
parent
61fb67dcb2
commit
1062880d69
|
@ -117,6 +117,7 @@ static int config_props(AVFilterLink* link)
|
|||
FPSContext *s = link->src->priv;
|
||||
|
||||
link->time_base = (AVRational){ s->framerate.den, s->framerate.num };
|
||||
link->frame_rate = s->framerate;
|
||||
link->w = link->src->inputs[0]->w;
|
||||
link->h = link->src->inputs[0]->h;
|
||||
|
||||
|
|
Loading…
Reference in New Issue