Skip to content
Snippets Groups Projects
Commit 0d249316 authored by Nicolas George's avatar Nicolas George
Browse files

vf_fps: set frame_rate.

parent c8428a0d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment