[Mplayer-cvslog] CVS: main/libmpcodecs ve_lavc.c,1.102,1.103

Guillaume Poirier CVS syncmail at mplayerhq.hu
Mon Sep 20 22:07:32 CEST 2004


CVS change done by Guillaume Poirier CVS

Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv14078/libmpcodecs

Modified Files:
	ve_lavc.c 
Log Message:
10l: Make turbo mode compatible with 3-pass encoding


Index: ve_lavc.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ve_lavc.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -r1.102 -r1.103
--- ve_lavc.c	19 Sep 2004 09:59:05 -0000	1.102
+++ ve_lavc.c	20 Sep 2004 20:07:29 -0000	1.103
@@ -668,7 +668,7 @@
 	    mp_msg(MSGT_MENCODER,MSGL_ERR,"2pass failed: filename=%s\n", passtmpfile);
             return 0;
 	}
-	if(lavc_param_turbo) {
+	if(lavc_param_turbo && (lavc_param_vpass == 1)) {
 	  /* uses SAD comparison functions instead of other hungrier */
 	  lavc_venc_context->me_pre_cmp = 0;
 	  lavc_venc_context->me_cmp = 0;




More information about the MPlayer-cvslog mailing list