summaryrefslogtreecommitdiff
path: root/gst
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian.droege@collabora.co.uk>2010-04-04 20:23:00 +0200
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2010-04-04 20:23:00 +0200
commit074d20cf995e263ff77f66bc55721cba9d11414a (patch)
tree67c75eab05261ce4f32e457ff1e1ca530964f06a /gst
parentd7ab75abb8dca1f1b09509a98ce5edb441c5e3fd (diff)
downloadgstreamer-plugins-bad-074d20cf995e263ff77f66bc55721cba9d11414a.tar.gz
mpegtsdemux: Add support for the two DTS HD stream types
Fixes bug #614259.
Diffstat (limited to 'gst')
-rw-r--r--gst/mpegdemux/gstmpegdefs.h1
-rw-r--r--gst/mpegdemux/gstmpegtsdemux.c2
2 files changed, 3 insertions, 0 deletions
diff --git a/gst/mpegdemux/gstmpegdefs.h b/gst/mpegdemux/gstmpegdefs.h
index ef2bd46a4..6cca830da 100644
--- a/gst/mpegdemux/gstmpegdefs.h
+++ b/gst/mpegdemux/gstmpegdefs.h
@@ -178,6 +178,7 @@
#define ST_BD_AUDIO_AC3_TRUE_HD 0x83
#define ST_BD_AUDIO_AC3_PLUS 0x84
#define ST_BD_AUDIO_DTS_HD 0x85
+#define ST_BD_AUDIO_DTS_HD_MASTER_AUDIO 0x86
#define ST_BD_AUDIO_EAC3 0x87
#define ST_BD_PGS_SUBPICTURE 0x90
#define ST_BD_IGS 0x91
diff --git a/gst/mpegdemux/gstmpegtsdemux.c b/gst/mpegdemux/gstmpegtsdemux.c
index 06f322c9c..b5fcaa9d2 100644
--- a/gst/mpegdemux/gstmpegtsdemux.c
+++ b/gst/mpegdemux/gstmpegtsdemux.c
@@ -767,6 +767,8 @@ gst_mpegts_demux_fill_stream (GstMpegTSStream * stream, guint8 id,
caps = gst_caps_new_simple ("audio/x-eac3", NULL);
break;
case ST_PS_AUDIO_DTS:
+ case ST_BD_AUDIO_DTS_HD:
+ case ST_BD_AUDIO_DTS_HD_MASTER_AUDIO:
template = klass->audio_template;
name = g_strdup_printf ("audio_%04x", stream->PID);
caps = gst_caps_new_simple ("audio/x-dts", NULL);