From 16fba15308dd1c619bf5865433346bf5cde4b925 Mon Sep 17 00:00:00 2001 From: gpoirier Date: Mon, 20 Sep 2004 20:07:29 +0000 Subject: 10l: Make turbo mode compatible with 3-pass encoding git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13407 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpcodecs/ve_lavc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmpcodecs') diff --git a/libmpcodecs/ve_lavc.c b/libmpcodecs/ve_lavc.c index 75e2f9e671..acf4e38e84 100644 --- a/libmpcodecs/ve_lavc.c +++ b/libmpcodecs/ve_lavc.c @@ -668,7 +668,7 @@ static int config(struct vf_instance_s* vf, 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; -- cgit v1.2.3