Permalink
Browse files

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: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information...
1 parent 8b63eeb commit fcf73f9c011f4e08f20ba47d3f44a296e52535ac @lotharkript lotharkript committed with michaelni Mar 23, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 ffmpeg.c
View
@@ -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)

0 comments on commit fcf73f9

Please sign in to comment.