diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2015-11-03 09:57:20 -0800 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2015-11-09 08:09:41 +0100 |
commit | 1062880d69a4fdc8d8929dd5c22bb447182f1c41 (patch) | |
tree | 844d3e96ce4b8b91c6ecbea697b1f335a78ef4dd /libavfilter | |
parent | 61fb67dcb2e71a268c422fc19d366040e59fb337 (diff) | |
download | ffmpeg-1062880d69a4fdc8d8929dd5c22bb447182f1c41.tar.gz |
vf_fps: set frame_rate.
(cherry picked from ffmpeg commit 0d249316043fb69a3972029bff3a2969689ba8b6)
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_fps.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavfilter/vf_fps.c b/libavfilter/vf_fps.c index ea22d37b54..e5562c8517 100644 --- a/libavfilter/vf_fps.c +++ b/libavfilter/vf_fps.c @@ -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; } |