vf_fps: set frame_rate.

(cherry picked from ffmpeg commit 0d24931604)

Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
Nicolas George 2015-11-03 09:57:20 -08:00 committed by Anton Khirnov
parent 61fb67dcb2
commit 1062880d69
1 changed files with 4 additions and 3 deletions

View File

@ -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;