diff options
author | jstebbins <[email protected]> | 2015-03-18 21:18:34 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-03-18 21:18:34 +0000 |
commit | 75b85c09888b121f9a6c7a2d3d4ac186f2d07183 (patch) | |
tree | 17b71ea72882a639b4b4b4e7bb8a7e001920ae5b | |
parent | 55951f9621a488a38f76c01ccd804a46f2a92ae6 (diff) |
LinGui: update generation of audio copy mask with new copy options
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7002 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | gtk/src/audiohandler.c | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/gtk/src/audiohandler.c b/gtk/src/audiohandler.c index 50ec98eeb..70b512e4b 100644 --- a/gtk/src/audiohandler.c +++ b/gtk/src/audiohandler.c @@ -153,23 +153,35 @@ int ghb_get_copy_mask(GhbValue *settings) if (ghb_settings_get_boolean(settings, "AudioAllowMP3Pass")) { - mask |= HB_ACODEC_MP3; + mask |= HB_ACODEC_MP3_PASS; } if (ghb_settings_get_boolean(settings, "AudioAllowAACPass")) { - mask |= HB_ACODEC_FFAAC; + mask |= HB_ACODEC_AAC_PASS; } if (ghb_settings_get_boolean(settings, "AudioAllowAC3Pass")) { - mask |= HB_ACODEC_AC3; + mask |= HB_ACODEC_AC3_PASS; } if (ghb_settings_get_boolean(settings, "AudioAllowDTSPass")) { - mask |= HB_ACODEC_DCA; + mask |= HB_ACODEC_DCA_PASS; } if (ghb_settings_get_boolean(settings, "AudioAllowDTSHDPass")) { - mask |= HB_ACODEC_DCA_HD; + mask |= HB_ACODEC_DCA_HD_PASS; + } + if (ghb_settings_get_boolean(settings, "AudioAllowEAC3Pass")) + { + mask |= HB_ACODEC_EAC3_PASS; + } + if (ghb_settings_get_boolean(settings, "AudioAllowFLACPass")) + { + mask |= HB_ACODEC_FLAC_PASS; + } + if (ghb_settings_get_boolean(settings, "AudioAllowTRUEHDPass")) + { + mask |= HB_ACODEC_TRUEHD_PASS; } return mask; } |