summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioController.m
diff options
context:
space:
mode:
authorRodeo <[email protected]>2011-09-19 21:51:00 +0000
committerRodeo <[email protected]>2011-09-19 21:51:00 +0000
commitd522dcb3ab53099ad4e6d7546037a588de3adad3 (patch)
tree2598d01cf760cdac4d73ed675719957096730d47 /macosx/HBAudioController.m
parenta3367322b982a61975df2a28307455d16a7ab081 (diff)
MacGui: since Auto Passthru isn't enabled yet, we still need to fall back to AC3 Passthru when loading a preset.
Also, update an outdated comment. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4238 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioController.m')
-rw-r--r--macosx/HBAudioController.m8
1 files changed, 8 insertions, 0 deletions
diff --git a/macosx/HBAudioController.m b/macosx/HBAudioController.m
index b275f7a82..cc1a62165 100644
--- a/macosx/HBAudioController.m
+++ b/macosx/HBAudioController.m
@@ -302,6 +302,14 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification";
[dict setObject: @"AAC (CoreAudio)" forKey: @"AudioEncoder"];
}
+ // Auto Passthru not yet enabled - fallback to AC3 Passthru as it is
+ // compatible with all source codecs (via the AC3 encoder fallback)
+ if ([key isEqualToString: @"Auto Passthru"])
+ {
+ [dict setObject: @"AC3 Passthru" forKey: @"AudioEncoder"];
+ key = @"AC3 Passthru";
+ }
+
// passthru fallbacks
if ([key isEqualToString: @"AAC Passthru"])
{