提交 fcf73f9c 编写于 作者: T Thierry Foucu 提交者: Michael Niedermayer

Call do_video_stats when duplicating frame

When multiple frame are encoded during vsync, current code only
do_video_stats once. This need to do it every frame.
Signed-off-by: NMichael Niedermayer <michaelni@gmx.at>
上级 8b63eeb6
......@@ -963,10 +963,10 @@ static void do_video_out(AVFormatContext *s,
* flush, we need to limit them here, before they go into encoder.
*/
ost->frame_number++;
}
if (vstats_filename && frame_size)
do_video_stats(ost, frame_size);
}
}
static double psnr(double d)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册