diff options
author | dynaflash <[email protected]> | 2008-02-17 05:08:22 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-02-17 05:08:22 +0000 |
commit | 3c02e7a2204d33df38125e5217c21ec2c4c7137e (patch) | |
tree | 83fda4671a0283ba51c34891a476f8ccf1f901ff | |
parent | 8c62eef865018ed413d1b8bd33118100d23a8761 (diff) |
MacGui: Fix DPL2 + AC3 mixdown crash if the input audio source is DTS
- Since DTS cannot pass thru AC3, revert to just DPL2
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1275 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | macosx/Controller.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index f588af5e2..1492a02ff 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -2940,7 +2940,7 @@ the user is using "Custom" settings by determining the sender*/ } /* do we want to add a dolby pro logic 2 (DPL2) option? */ - if (!mp4AacAc3 && layout == HB_INPUT_CH_LAYOUT_3F2R) { + if ((!mp4AacAc3 || audio->codec == HB_ACODEC_DCA) && layout == HB_INPUT_CH_LAYOUT_3F2R) { NSMenuItem *menuItem = [[mixdownPopUp menu] addItemWithTitle: [NSString stringWithCString: hb_audio_mixdowns[3].human_readable_name] action: NULL keyEquivalent: @""]; |