changeset 27482:88c54359eb69

support E-AC-3 decoding using ffmpeg
author aurel
date Mon, 01 Sep 2008 22:37:50 +0000
parents 03c589c49c6d
children 2c27916c40d2
files etc/codecs.conf libmpdemux/extension.c libmpdemux/mp_taglists.c
diffstat 3 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/etc/codecs.conf	Mon Sep 01 22:34:27 2008 +0000
+++ b/etc/codecs.conf	Mon Sep 01 22:37:50 2008 +0000
@@ -3271,6 +3271,13 @@
   driver ffmpeg
   dll ac3
 
+audiocodec ffeac3
+  info "FFmpeg E-AC-3"
+  status working
+  fourcc EAC3
+  driver ffmpeg
+  dll eac3
+
 audiocodec dts
   info "DTS-libdca"
   status working
--- a/libmpdemux/extension.c	Mon Sep 01 22:34:27 2008 +0000
+++ b/libmpdemux/extension.c	Mon Sep 01 22:37:50 2008 +0000
@@ -61,6 +61,7 @@
 	{ "ac3", DEMUXER_TYPE_LAVF },
         { "ape", DEMUXER_TYPE_LAVF },
         { "apl", DEMUXER_TYPE_LAVF },
+        { "eac3",DEMUXER_TYPE_LAVF },
         { "mac", DEMUXER_TYPE_LAVF },
         { "str", DEMUXER_TYPE_LAVF },
 
--- a/libmpdemux/mp_taglists.c	Mon Sep 01 22:34:27 2008 +0000
+++ b/libmpdemux/mp_taglists.c	Mon Sep 01 22:37:50 2008 +0000
@@ -33,6 +33,7 @@
     { CODEC_ID_AMR_NB,            MKTAG('n', 'b',   0,   0)},
     { CODEC_ID_COOK,              MKTAG('c', 'o', 'o', 'k')},
     { CODEC_ID_DSICINAUDIO,       MKTAG('D', 'C', 'I', 'A')},
+    { CODEC_ID_EAC3,              MKTAG('E', 'A', 'C', '3')},
     { CODEC_ID_INTERPLAY_DPCM,    MKTAG('I', 'N', 'P', 'A')},
     { CODEC_ID_MLP,               MKTAG('M', 'L', 'P', ' ')},
     { CODEC_ID_MUSEPACK7,         MKTAG('M', 'P', 'C', ' ')},