From: ritsuka Date: Sun, 2 Nov 2008 15:57:39 +0000 (+0000) Subject: MacGui: Remove check on web optimized and ac3 passthru. X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=768521faedd568937a883c69d3cea93adab76800;p=handbrake-jp%2Fhandbrake-jp-git.git MacGui: Remove check on web optimized and ac3 passthru. git-svn-id: svn://localhost/HandBrake/trunk@1895 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/macosx/Controller.h b/macosx/Controller.h index 2c6f0d1c..3625efd3 100644 --- a/macosx/Controller.h +++ b/macosx/Controller.h @@ -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; diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 6fd9068c..8b7a26cc 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -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]; } }