]> granicus.if.org Git - handbrake/commitdiff
MacGui: Enable Turbo 2 pass when using AVI x264
authordynaflash <dynaflashtech@gmail.com>
Fri, 27 Jul 2007 19:22:53 +0000 (19:22 +0000)
committerdynaflash <dynaflashtech@gmail.com>
Fri, 27 Jul 2007 19:22:53 +0000 (19:22 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@755 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.mm

index feefbc56ce68e865e67f50c0b586e9d9ac89fe89..e014eb312ec027dbec27edd35236664f0d0a462a 100644 (file)
@@ -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)
                {