From 3adcd92b35be6fb8940c5f249112a263c7ec0ed9 Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sun, 15 Feb 2015 22:48:46 +0000 Subject: New audio output options. Dolby Digital Plus (E-AC-3), Dolby TrueHD and FLAC can now be passed through without re-encoding. They aren't covered by Auto Passthru yet, however. In addition, encoding to E-AC-3 is now possible. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6908 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- libhb/encavcodecaudio.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'libhb/encavcodecaudio.c') diff --git a/libhb/encavcodecaudio.c b/libhb/encavcodecaudio.c index 7242867fd..784ba5e2f 100644 --- a/libhb/encavcodecaudio.c +++ b/libhb/encavcodecaudio.c @@ -74,6 +74,12 @@ static int encavcodecaInit(hb_work_object_t *w, hb_job_t *job) av_dict_set(&av_opts, "dsur_mode", "on", 0); break; + case HB_ACODEC_FFEAC3: + codec_id = AV_CODEC_ID_EAC3; + if (matrix_encoding != AV_MATRIX_ENCODING_NONE) + av_dict_set(&av_opts, "dsur_mode", "on", 0); + break; + case HB_ACODEC_FDK_AAC: case HB_ACODEC_FDK_HAAC: codec_name = "libfdk_aac"; -- cgit v1.2.3