summaryrefslogtreecommitdiffstats
path: root/libhb/muxavformat.c
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-02-15 22:48:46 +0000
committerRodeo <[email protected]>2015-02-15 22:48:46 +0000
commit3adcd92b35be6fb8940c5f249112a263c7ec0ed9 (patch)
tree49dfe2e1b269be7a0238fa3c5367899da783451a /libhb/muxavformat.c
parent901d81b2b980c3afa7e14f434cc8ffd092cc750e (diff)
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
Diffstat (limited to 'libhb/muxavformat.c')
-rw-r--r--libhb/muxavformat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/muxavformat.c b/libhb/muxavformat.c
index f0b62bddc..13f9e9832 100644
--- a/libhb/muxavformat.c
+++ b/libhb/muxavformat.c
@@ -441,6 +441,12 @@ static int avformatInit( hb_mux_object_t * m )
case HB_ACODEC_AC3:
track->st->codec->codec_id = AV_CODEC_ID_AC3;
break;
+ case HB_ACODEC_FFEAC3:
+ track->st->codec->codec_id = AV_CODEC_ID_EAC3;
+ break;
+ case HB_ACODEC_FFTRUEHD:
+ track->st->codec->codec_id = AV_CODEC_ID_TRUEHD;
+ break;
case HB_ACODEC_LAME:
case HB_ACODEC_MP3:
track->st->codec->codec_id = AV_CODEC_ID_MP3;