Commit 0d249316 authored by Nicolas George's avatar Nicolas George

vf_fps: set frame_rate.

parent c8428a0d
......@@ -120,6 +120,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;
s->pts = AV_NOPTS_VALUE;
......
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