diff options
author | dynaflash <[email protected]> | 2007-03-21 12:37:04 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2007-03-21 12:37:04 +0000 |
commit | aac0c8376178c6c60c93edb018a328e9b5b20ac3 (patch) | |
tree | 2c5725c46a2845e88a9bde665b7dc5bc013902cd /macosx | |
parent | 9f205a922d50183e4df041ed24f9398ceacf8769 (diff) |
MacGui: Re-enable Audio Track 2 for saintdevs fix (thanks saintdev!)
- 5.1 6 channel aac now works for Track 2 as well as Track 1
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@439 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.mm | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 9baad9ac3..cdd14e05a 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -503,7 +503,7 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow #undef p case HB_STATE_PAUSED: - [fStatusField setStringValue: _( @"Paused" )]; + [fStatusField setStringValue: _( @"Paused" )]; [fPauseButton setEnabled: YES]; [fPauseButton setTitle: _( @"Resume" )]; [fRipButton setEnabled: YES]; @@ -595,10 +595,6 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow [controls[i] setEnabled: b]; } - - /* Temporarily disable Lang2 until crash is fixed */ - [fAudLang2PopUp setEnabled: NO]; - [fAudLang2Field setEnabled: NO]; if (b) { /* if we're enabling the interface, check if we should / should't offer 6-channel AAC extraction */ @@ -756,7 +752,7 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow Lets Deprecate Baseline Level 1.3*/ job->h264_level = 30; job->mux = HB_MUX_IPOD; - /* move sanity check for iPod Encoding here */ + /* move sanity check for iPod Encoding here */ job->pixel_ratio = 0 ; } @@ -1086,14 +1082,9 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow int indxpri=0; // End of pri changes 02/12/06 [fAudLang1PopUp removeAllItems]; - /* Disable second audio language until crashing is resolved*/ - [fAudLang2Field setEnabled: NO]; - [fAudLang2PopUp setEnabled: NO]; - [fAudLang2PopUp removeAllItems]; + [fAudLang2PopUp removeAllItems]; [fAudLang1PopUp addItemWithTitle: _( @"None" )]; - /* Display Currently Unavailable until crash is fixed */ - [fAudLang2PopUp addItemWithTitle: _( @"Currently Unavailable" )]; - //[fAudLang2PopUp addItemWithTitle: _( @"None" )]; + [fAudLang2PopUp addItemWithTitle: _( @"None" )]; for( int i = 0; i < hb_list_count( title->list_audio ); i++ ) { audio = (hb_audio_t *) hb_list_item( title->list_audio, i ); @@ -1112,11 +1103,11 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow [[fAudLang1PopUp menu] addItemWithTitle: [NSString stringWithCString: audio->lang] action: NULL keyEquivalent: @""]; - /* + [[fAudLang2PopUp menu] addItemWithTitle: [NSString stringWithCString: audio->lang] action: NULL keyEquivalent: @""]; - */ + } // PRI CHANGES 02/12/06 if (indxpri==0) { indxpri=1; } @@ -1353,6 +1344,7 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow [fAudLang1SurroundCheck setEnabled: NO]; /* as well as disabling the checkbox, let's uncheck it if it is checked */ [fAudLang1SurroundCheck setState: NSOffState]; + } } @@ -1366,7 +1358,7 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow [self Check6ChannelAACExtraction: sender]; /* see if the new language setting will change the bitrate we need */ - [self CalculateBitrate: sender]; + [self CalculateBitrate: sender]; } |