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
|
@ -116,9 +116,10 @@ static int config_props(AVFilterLink* link)
|
|||
{
|
||||
FPSContext *s = link->src->priv;
|
||||
|
||||
link->time_base = (AVRational){ s->framerate.den, s->framerate.num };
|
||||
link->w = link->src->inputs[0]->w;
|
||||
link->h = link->src->inputs[0]->h;
|
||||
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;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue