提交 90d9a2a0 编写于 作者: A Anton Khirnov

vf_drawtext: do not reset the frame number in config_input.

Frame number should be incremented normally even if the link properties
change.
上级 7727be79
......@@ -569,7 +569,6 @@ static int config_input(AVFilterLink *inlink)
s->var_values[VAR_X] = 0;
s->var_values[VAR_Y] = 0;
s->var_values[VAR_N] = 0;
s->var_values[VAR_T] = NAN;
av_lfg_init(&s->prng, av_get_random_seed());
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册