diff options
author | Rodeo <[email protected]> | 2015-05-16 19:54:28 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2015-05-16 19:54:28 +0000 |
commit | f7575590ab950bd9f60412e1fbd97da752296dbd (patch) | |
tree | 0bcad66fbc0ffd1a4f6f7bd41f4b954cd4252178 /macosx | |
parent | 50e1446d27c8e6377bef922bff2d5e11a54185d3 (diff) |
MacGui: reset allowed passthru codecs when applying a preset.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7195 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/HBAudioDefaults.m | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/macosx/HBAudioDefaults.m b/macosx/HBAudioDefaults.m index 47f085b95..6d300a496 100644 --- a/macosx/HBAudioDefaults.m +++ b/macosx/HBAudioDefaults.m @@ -116,7 +116,18 @@ } } - // Passthru settings + // Auto Passthru settings + // first, disable all encoders + self.allowAACPassthru = NO; + self.allowAC3Passthru = NO; + self.allowDTSPassthru = NO; + self.allowDTSHDPassthru = NO; + self.allowEAC3Passthru = NO; + self.allowFLACPassthru = NO; + self.allowMP3Passthru = NO; + self.allowTrueHDPassthru = NO; + + // then, enable allowed passthru encoders for (NSString *copyMask in preset[@"AudioCopyMask"]) { int allowedPassthru = hb_video_encoder_get_from_name(copyMask.UTF8String); |