summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordynaflash <[email protected]>2008-04-08 13:19:51 +0000
committerdynaflash <[email protected]>2008-04-08 13:19:51 +0000
commitd0356c14f02b86d0e7fa6b29d5ca1b2084cef439 (patch)
tree6e07ed4c97aa8496fedf4bac9c6f0368c0ec07ab
parent9d9cb0efcc1f10d75d3828d5b6ae2e4cdb0e2ad2 (diff)
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
-rw-r--r--macosx/Controller.mm4
1 files changed, 2 insertions, 2 deletions
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)