10l: Make turbo mode compatible with 3-pass encoding

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13407 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
gpoirier 2004-09-20 20:07:29 +00:00
parent 10d3ae9de5
commit 16fba15308
1 changed files with 1 additions and 1 deletions

View File

@ -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;