diff options
author | dynaflash <[email protected]> | 2007-07-16 19:10:33 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-07-16 19:10:33 +0000 |
commit | 4c97efd21e2cd693c40bd50e16db4ffdf17270bf (patch) | |
tree | f544dce2e3d359e4edbe41a4c18817266ea09f44 /macosx | |
parent | fd03175d3329c8d2d01a5ad4fbc6e4c4c8c7b7e0 (diff) |
MacGui: x264 options are now retained even after you customize a preset.
- was fixed once, behavior crept back in so now its out again.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@702 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.mm | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 2edfb70d6..0302d0455 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -2021,24 +2021,10 @@ the user is using "Custom" settings by determining the sender*/ [fPresetSelectedDisplay setStringValue: @"Custom"]; curUserPresetChosenNum = nil; - /* If we have MP4, AVC H.264 and x264 Main then we look to see - if there are any x264 options from the preferences to use */ - if ([fDstFormatPopUp indexOfSelectedItem] == 0 && [fDstCodecsPopUp indexOfSelectedItem] == 1) - { - /* Lets check to see there is a specified string in the prefs, and use that if need be */ - if ([[NSUserDefaults standardUserDefaults] stringForKey:@"DefAdvancedx264Flags"] != @"") - { - [fDisplayX264Options setStringValue: [NSString stringWithFormat:[[NSUserDefaults standardUserDefaults] stringForKey:@"DefAdvancedx264Flags"]]]; - } - } - else - { - /* Empty the field to display custom x264 preset options*/ - [fDisplayX264Options setStringValue: @""]; - } + } - [self X264AdvancedOptionsSet:NULL]; + } - (IBAction) X264AdvancedOptionsSet: (id) sender |