From bdb4019678b4c5de993f01f6b47d62d543f34226 Mon Sep 17 00:00:00 2001 From: Mark Nauwelaerts Date: Wed, 1 Dec 2010 13:12:04 +0100 Subject: [PATCH] qtdemux: add support for e(a)c-3 audio --- gst/qtdemux/qtdemux.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c index b8576ce..4074418 100644 --- a/gst/qtdemux/qtdemux.c +++ b/gst/qtdemux/qtdemux.c @@ -9072,6 +9072,12 @@ qtdemux_audio_caps (GstQTDemux * qtdemux, QtDemuxStream * stream, "mpegversion", G_TYPE_INT, 1, NULL); break; case 0x20736d: + case GST_MAKE_FOURCC ('e', 'c', '-', '3'): + _codec ("EAC-3 audio"); + caps = gst_caps_new_simple ("audio/x-eac3", + "framed", G_TYPE_BOOLEAN, TRUE, NULL); + stream->sampled = TRUE; + break; case GST_MAKE_FOURCC ('a', 'c', '-', '3'): _codec ("AC-3 audio"); caps = gst_caps_new_simple ("audio/x-ac3", -- 2.7.4