From 00a449bea521f56c8b2aab180729f5a11899f113 Mon Sep 17 00:00:00 2001 From: michael Date: Thu, 11 Sep 2003 07:09:25 +0000 Subject: 2pass stats curruption fix by ("Johannes E. Schindelin" ) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10849 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ve_lavc.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libmpcodecs') diff --git a/libmpcodecs/ve_lavc.c b/libmpcodecs/ve_lavc.c index c3011105d8..69010d1095 100644 --- a/libmpcodecs/ve_lavc.c +++ b/libmpcodecs/ve_lavc.c @@ -499,6 +499,7 @@ static int config(struct vf_instance_s* vf, return 0; } + if(!stats_file) { /* lavc internal 2pass bitrate control */ switch(lavc_param_vpass){ case 1: @@ -529,6 +530,7 @@ static int config(struct vf_instance_s* vf, } break; } + } lavc_venc_context->me_method = ME_ZERO+lavc_param_vme; -- cgit v1.2.3