changeset 29414:3699268cc9dc

added inexistant TRHD fourcc to handle TRUEHD streams in forthcoming patch
author nicodvb
date Thu, 30 Jul 2009 08:36:17 +0000
parents cecb20da409e
children ed4191b00420
files etc/codecs.conf libmpdemux/mp_taglists.c
diffstat 2 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Tue Jul 28 16:25:03 2009 +0000
+++ b/etc/codecs.conf	Thu Jul 30 08:36:17 2009 +0000
@@ -3548,6 +3548,13 @@
   driver ffmpeg
   dll "mlp"
 
+audiocodec fftruehd
+  info "FFmpeg TrueHD"
+  status working
+  fourcc TRHD ; internal MPlayer FourCC
+  driver ffmpeg
+  dll "truehd"
+
 audiocodec ffnellymoser
   info "FFmpeg Nellymoser Audio"
   status working
--- a/libmpdemux/mp_taglists.c	Tue Jul 28 16:25:03 2009 +0000
+++ b/libmpdemux/mp_taglists.c	Thu Jul 30 08:36:17 2009 +0000
@@ -44,6 +44,7 @@
     { CODEC_ID_ROQ_DPCM,          MKTAG('R', 'o', 'Q', 'A')},
     { CODEC_ID_SHORTEN,           MKTAG('s', 'h', 'r', 'n')},
     { CODEC_ID_SPEEX,             MKTAG('s', 'p', 'x', ' ')},
+    { CODEC_ID_TRUEHD,            MKTAG('T', 'R', 'H', 'D')},
     { CODEC_ID_TTA,               MKTAG('T', 'T', 'A', '1')},
     { CODEC_ID_WAVPACK,           MKTAG('W', 'V', 'P', 'K')},
     { CODEC_ID_WESTWOOD_SND1,     MKTAG('S', 'N', 'D', '1')},