]> granicus.if.org Git - handbrake/commitdiff
MacGui: Remove check on web optimized and ac3 passthru.
authorritsuka <damiog@gmail.com>
Sun, 2 Nov 2008 15:57:39 +0000 (15:57 +0000)
committerritsuka <damiog@gmail.com>
Sun, 2 Nov 2008 15:57:39 +0000 (15:57 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1895 b64f7644-9d1e-0410-96f1-a4d463321fa5

macosx/Controller.h
macosx/Controller.mm

index 2c6f0d1cda897bb2ad6b8e2a933ab192cf633375..3625efd3dec1c06514e2a64378beb31502d39916 100644 (file)
@@ -278,7 +278,6 @@ BOOL                        fIsDragging;
 - (IBAction) formatPopUpChanged: (id) sender;
 - (IBAction) videoEncoderPopUpChanged: (id) sender;
 - (IBAction) autoSetM4vExtension: (id) sender;
-- (void) shouldEnableHttpMp4CheckBox: (id) sender;
 - (IBAction) twoPassCheckboxChanged: (id) sender;
 - (IBAction) videoFrameRateChanged: (id) sender;
 - (IBAction) audioAddAudioTrackCodecs: (id)sender;
index 6fd9068cf8c8e8e8c4dc363f472754d7ca1fde9d..8b7a26cc5653de63c4c6d332c82e917fe2bd94a0 100644 (file)
@@ -422,7 +422,6 @@ static NSString *        ChooseSourceIdentifier             = @"Choose Source It
         [self setEnabledStateOfAudioMixdownControls:nil];
         /* we also call calculatePictureSizing here to sense check if we already have vfr selected */
         [self calculatePictureSizing:nil];
-        [self shouldEnableHttpMp4CheckBox: nil];
 
        } else {
 
@@ -3442,16 +3441,6 @@ fWorkingCount = 0;
                                     [[fDstFile2Field stringValue] stringByDeletingPathExtension], extension]];
 }
 
-- (void) shouldEnableHttpMp4CheckBox: (id) sender
-{
-    if( [[fAudTrack1CodecPopUp selectedItem] tag] == HB_ACODEC_AC3 || [[fAudTrack2CodecPopUp selectedItem] tag] == HB_ACODEC_AC3 ||
-                                                        [[fAudTrack3CodecPopUp selectedItem] tag] == HB_ACODEC_AC3 ||
-                                                        [[fAudTrack4CodecPopUp selectedItem] tag] == HB_ACODEC_AC3 )
-        [fDstMp4HttpOptFileCheck setEnabled: NO];
-    else
-        [fDstMp4HttpOptFileCheck setEnabled: YES];
-}
-        
 /* Method to determine if we should change the UI
 To reflect whether or not a Preset is being used or if
 the user is using "Custom" settings by determining the sender*/
@@ -4466,7 +4455,6 @@ the user is using "Custom" settings by determining the sender*/
     if( [fDstFormatPopUp indexOfSelectedItem] == 0 )
     {
         [self autoSetM4vExtension: sender];
-        [self shouldEnableHttpMp4CheckBox: sender];
     }
 }