summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authordynaflash <[email protected]>2010-04-02 15:50:35 +0000
committerdynaflash <[email protected]>2010-04-02 15:50:35 +0000
commit146bb5a0fd7c051ecd61928ccc00e90d293e742c (patch)
treebb7a7b9dcf5fd990344510f40851af8fbe19a2b3 /macosx
parent2fc4ca204172e3fb368d4b994e22b1062040f019 (diff)
MacGui: Remove the AC3 and DCA audio input codec limitations for selecting mono or more importantly 6 channel discrete as per svn rev 3182.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3184 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.m10
1 files changed, 2 insertions, 8 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index a806356c8..42b7a2476 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -5750,16 +5750,10 @@ the user is using "Custom" settings by determining the sender*/
{
/* find out if our selected output audio codec supports mono and / or 6ch */
- /* we also check for an input codec of AC3 or DCA,
- as they are the only libraries able to do the mixdown to mono / conversion to 6-ch */
/* audioCodecsSupportMono and audioCodecsSupport6Ch are the same for now,
but this may change in the future, so they are separated for flexibility */
- int audioCodecsSupportMono =
- (audio->in.codec & (HB_ACODEC_AC3|HB_ACODEC_DCA)) &&
- (acodec != HB_ACODEC_LAME);
- int audioCodecsSupport6Ch =
- (audio->in.codec & (HB_ACODEC_AC3|HB_ACODEC_DCA)) &&
- (acodec != HB_ACODEC_LAME);
+ int audioCodecsSupportMono = (audio->in.codec && acodec != HB_ACODEC_LAME);
+ int audioCodecsSupport6Ch = (audio->in.codec && acodec != HB_ACODEC_LAME);
/* check for AC-3 passthru */
if (audio->in.codec == HB_ACODEC_AC3 && acodec == HB_ACODEC_AC3)