diff options
author | ritsuka <[email protected]> | 2015-04-18 11:28:25 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-04-18 11:28:25 +0000 |
commit | 18ec5828ba1d6fcea88b6109d114efd8dac53206 (patch) | |
tree | 482a48b3d417243afc3d8e2deb4447148b755e1f /macosx/HBJob+HBJobConversion.m | |
parent | 85e043496a821638926212f1d590436f22a33f65 (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/HBJob+HBJobConversion.m')
-rw-r--r-- | macosx/HBJob+HBJobConversion.m | 23 |
1 files changed, 18 insertions, 5 deletions
diff --git a/macosx/HBJob+HBJobConversion.m b/macosx/HBJob+HBJobConversion.m index bf12014a0..2598d5a1c 100644 --- a/macosx/HBJob+HBJobConversion.m +++ b/macosx/HBJob+HBJobConversion.m @@ -323,24 +323,37 @@ if (audioDefaults.allowAACPassthru) { - job->acodec_copy_mask |= HB_ACODEC_FFAAC; + job->acodec_copy_mask |= HB_ACODEC_AAC_PASS; } if (audioDefaults.allowAC3Passthru) { - job->acodec_copy_mask |= HB_ACODEC_AC3; + job->acodec_copy_mask |= HB_ACODEC_AC3_PASS; + } + if (audioDefaults.allowEAC3Passthru) + { + job->acodec_copy_mask |= HB_ACODEC_EAC3_PASS; } if (audioDefaults.allowDTSHDPassthru) { - job->acodec_copy_mask |= HB_ACODEC_DCA_HD; + job->acodec_copy_mask |= HB_ACODEC_DCA_HD_PASS; } if (audioDefaults.allowDTSPassthru) { - job->acodec_copy_mask |= HB_ACODEC_DCA; + job->acodec_copy_mask |= HB_ACODEC_DCA_PASS; } if (audioDefaults.allowMP3Passthru) { - job->acodec_copy_mask |= HB_ACODEC_MP3; + job->acodec_copy_mask |= HB_ACODEC_MP3_PASS; + } + if (audioDefaults.allowTrueHDPassthru) + { + job->acodec_copy_mask |= HB_ACODEC_TRUEHD_PASS; } + if (audioDefaults.allowFLACPassthru) + { + job->acodec_copy_mask |= HB_ACODEC_FLAC_PASS; + } + job->acodec_fallback = audioDefaults.encoderFallback; // Audio tracks and mixdowns |