[FFmpeg-cvslog] Call do_video_stats when duplicating frame
Thierry Foucu
git at videolan.org
Sat Mar 23 12:36:36 CET 2013
ffmpeg | branch: master | Thierry Foucu <tfoucu at gmail.com> | Fri Mar 22 22:47:30 2013 -0700| [fcf73f9c011f4e08f20ba47d3f44a296e52535ac] | committer: 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: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fcf73f9c011f4e08f20ba47d3f44a296e52535ac
---
ffmpeg.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ffmpeg.c b/ffmpeg.c
index 822f7f8..fc18622 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -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)
More information about the ffmpeg-cvslog
mailing list