提交 0d249316 编写于 作者: N Nicolas George

vf_fps: set frame_rate.

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册