From: dynaflash Date: Sun, 17 Feb 2008 05:08:22 +0000 (+0000) Subject: MacGui: Fix DPL2 + AC3 mixdown crash if the input audio source is DTS X-Git-Url: http://git.osdn.jp/view?a=commitdiff_plain;h=05ff3903a16af7be0392d9c6c586dcf2dff28c16;p=handbrake-jp%2Fhandbrake-jp-git.git 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://localhost/HandBrake/trunk@1275 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- diff --git a/macosx/Controller.mm b/macosx/Controller.mm index f588af5e..1492a02f 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: @""];