Commit 1062880d authored by Nicolas George's avatar Nicolas George Committed by Anton Khirnov

vf_fps: set frame_rate.

(cherry picked from ffmpeg commit 0d249316)
Signed-off-by: 's avatarAnton Khirnov <anton@khirnov.net>
parent 61fb67dc
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment