From d0356c14f02b86d0e7fa6b29d5ca1b2084cef439 Mon Sep 17 00:00:00 2001 From: dynaflash Date: Tue, 8 Apr 2008 13:19:51 +0000 Subject: MacGui: Sanity Check AC3 passthrough against any input audio that is not AC3. - Previously only sanity checked against DTS. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1395 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- macosx/Controller.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macosx/Controller.mm') diff --git a/macosx/Controller.mm b/macosx/Controller.mm index 68616550c..2ef1b068a 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -3267,11 +3267,11 @@ the user is using "Custom" settings by determining the sender*/ [mixdownPopUp selectItemWithTag: useMixdown]; } - /* In the case of a DTS source track and the user trying AC3 Passthru (which does not work) + /* In the case of a source track that is not AC3 and the user tries to use AC3 Passthru (which does not work) * we force the Audio Codec choice back to a workable codec. We use MP3 for avi and aac for all * other containers. */ - if (audio->in.codec == HB_ACODEC_DCA && [[audiocodecPopUp selectedItem] tag] == HB_ACODEC_AC3) + if (audio->in.codec != HB_ACODEC_AC3 && [[audiocodecPopUp selectedItem] tag] == HB_ACODEC_AC3) { /* If we are using the avi container, we select MP3 as there is no aac available*/ if ([[fDstFormatPopUp selectedItem] tag] == HB_MUX_AVI) -- cgit v1.2.3