diff options
author | dynaflash <[email protected]> | 2010-02-05 16:06:49 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2010-02-05 16:06:49 +0000 |
commit | 53aa770c937bac8e4c2c738bc3042c7c1684158f (patch) | |
tree | 7736e1bfce66e45596e1c9cfe628297c9f67d7db /macosx | |
parent | 94bd59f4c13d1c1f1e62c84298341e0af79e6d77 (diff) |
MacGui: Fix issue with six channel discreet presets where no bitrate was chosen thereby borking the encode among other things.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3095 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index ce610fe7e..f23a83d00 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -6837,17 +6837,25 @@ return YES; [self audioTrackPopUpChanged: audiocodecPopUp]; [mixdownPopUp selectItemWithTitle:[tempObject objectForKey:@"AudioMixdown"]]; - /* check to see if the selections was available, if not, rerun audioTrackPopUpChanged using the codec to just set the default + [self audioTrackMixdownChanged: mixdownPopUp]; + /* check to see if the selection was available, if not, rerun audioTrackPopUpChanged using the codec to just set the default * mixdown*/ if ([mixdownPopUp selectedItem] == nil) { [self audioTrackPopUpChanged: audiocodecPopUp]; + [self writeToActivityLog: "presetSelected mixdown not selected, rerun audioTrackPopUpChanged"]; } [sampleratePopUp selectItemWithTitle:[tempObject objectForKey:@"AudioSamplerate"]]; /* We set the presets bitrate if it is *not* an AC3 track since that uses the input bitrate */ if (![[tempObject objectForKey:@"AudioEncoder"] isEqualToString:@"AC3 Passthru"]) { [bitratePopUp selectItemWithTitle:[tempObject objectForKey:@"AudioBitrate"]]; + /* check to see if the bitrate selection was available, if not, rerun audioTrackMixdownChanged using the mixdown to just set the + *default mixdown bitrate*/ + if ([bitratePopUp selectedItem] == nil) + { + [self audioTrackMixdownChanged: mixdownPopUp]; + } } [drcSlider setFloatValue:[[tempObject objectForKey:@"AudioTrackDRCSlider"] floatValue]]; [self audioDRCSliderChanged: drcSlider]; |