changeset 5646:8bec4d7d04f0

disable hq for 1st pass
author arpi
date Tue, 16 Apr 2002 00:36:41 +0000
parents bd5c0d8346f0
children 5a2d49aa72c2
files libmpcodecs/ve_lavc.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c	Tue Apr 16 00:35:01 2002 +0000
+++ b/libmpcodecs/ve_lavc.c	Tue Apr 16 00:36:41 2002 +0000
@@ -143,7 +143,8 @@
 	if (VbrControl_init_2pass_vbr_analysis(passtmpfile, 5) == -1){
 	    mp_msg(MSGT_MENCODER,MSGL_ERR,"2pass failed: filename=%s\n", passtmpfile);
 	    pass=0;
-	}
+	} else
+	    lavc_venc_context.flags &= ~CODEC_FLAG_HQ;
 	break;
     case 2:
         if (VbrControl_init_2pass_vbr_encoding(passtmpfile,