From 98265d0b28c4f33c321cce6f6198e97eacbd5007 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sun, 7 Apr 2013 18:41:38 +0200 Subject: [PATCH] tsdemux: Add support for TrueHD audio --- gst/mpegtsdemux/tsdemux.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gst/mpegtsdemux/tsdemux.c b/gst/mpegtsdemux/tsdemux.c index 50db5acdc4..c3e0d9355d 100644 --- a/gst/mpegtsdemux/tsdemux.c +++ b/gst/mpegtsdemux/tsdemux.c @@ -954,6 +954,11 @@ create_pad_for_stream (MpegTSBase * base, MpegTSBaseStream * bstream, name = g_strdup_printf ("audio_%04x", bstream->pid); caps = gst_caps_new_empty_simple ("audio/x-eac3"); break; + case ST_BD_AUDIO_AC3_TRUE_HD: + template = gst_static_pad_template_get (&audio_template); + name = g_strdup_printf ("audio_%04x", bstream->pid); + caps = gst_caps_new_empty_simple ("audio/x-true-hd"); + break; case ST_PS_AUDIO_DTS: template = gst_static_pad_template_get (&audio_template); name = g_strdup_printf ("audio_%04x", bstream->pid);