summaryrefslogtreecommitdiffstats
path: root/macosx/HBAudioDefaults.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-04-18 11:28:25 +0000
committerritsuka <[email protected]>2015-04-18 11:28:25 +0000
commit18ec5828ba1d6fcea88b6109d114efd8dac53206 (patch)
tree482a48b3d417243afc3d8e2deb4447148b755e1f /macosx/HBAudioDefaults.m
parent85e043496a821638926212f1d590436f22a33f65 (diff)
MacGui: Add TrueHD, Flac and EAC3 auto passthru options in the default sheet.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7093 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioDefaults.m')
-rw-r--r--macosx/HBAudioDefaults.m6
1 files changed, 6 insertions, 0 deletions
diff --git a/macosx/HBAudioDefaults.m b/macosx/HBAudioDefaults.m
index fc2d9a9e1..641520e25 100644
--- a/macosx/HBAudioDefaults.m
+++ b/macosx/HBAudioDefaults.m
@@ -119,9 +119,12 @@
// Passthru settings
self.allowAACPassthru = [preset[@"AudioAllowAACPass"] boolValue];
self.allowAC3Passthru = [preset[@"AudioAllowAC3Pass"] boolValue];
+ self.allowEAC3Passthru = [preset[@"AudioAllowEAC3Pass"] boolValue];
self.allowDTSHDPassthru = [preset[@"AudioAllowDTSHDPass"] boolValue];
self.allowDTSPassthru= [preset[@"AudioAllowDTSPass"] boolValue];
self.allowMP3Passthru = [preset[@"AudioAllowMP3Pass"] boolValue];
+ self.allowTrueHDPassthru = [preset[@"AudioAllowTrueHDPass"] boolValue];
+ self.allowFLACPassthru = [preset[@"AudioAllowFlacPass"] boolValue];
self.secondaryEncoderMode = [preset[@"AudioSecondaryEncoderMode"] boolValue];
@@ -183,9 +186,12 @@
// Passthru settings
preset[@"AudioAllowAACPass"] = @(self.allowAACPassthru);
preset[@"AudioAllowAC3Pass"] = @(self.allowAC3Passthru);
+ preset[@"AudioAllowEAC3Pass"] = @(self.allowEAC3Passthru);
preset[@"AudioAllowDTSHDPass"] = @(self.allowDTSHDPassthru);
preset[@"AudioAllowDTSPass"] = @(self.allowDTSPassthru);
preset[@"AudioAllowMP3Pass"] = @(self.allowMP3Passthru);
+ preset[@"AudioAllowTrueHDPass"] = @(self.allowTrueHDPassthru);
+ preset[@"AudioAllowFlacPass"] = @(self.allowFLACPassthru);
preset[@"AudioEncoderFallback"] = @(hb_audio_encoder_get_name(self.encoderFallback));