From 22a0c8245babd5e3eea2d7df303c7283a932d4e9 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Fri, 27 Jul 2007 19:22:53 +0000 Subject: [PATCH] MacGui: Enable Turbo 2 pass when using AVI x264 git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@755 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/macosx/Controller.mm b/macosx/Controller.mm index feefbc56c..e014eb312 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1909,7 +1909,7 @@ list = hb_get_titles( fHandle ); - (IBAction) TwoPassCheckboxChanged: (id) sender { /* check to see if x264 is chosen */ - if([fDstFormatPopUp indexOfSelectedItem] == 0 && [fDstCodecsPopUp indexOfSelectedItem] == 1) + if(([fDstFormatPopUp indexOfSelectedItem] == 0 && [fDstCodecsPopUp indexOfSelectedItem] == 1) || ([fDstFormatPopUp indexOfSelectedItem] == 1 && ([fDstCodecsPopUp indexOfSelectedItem] == 2 || [fDstCodecsPopUp indexOfSelectedItem] == 3))) { if( [fVidTwoPassCheck state] == NSOnState) { -- 2.40.0