From 90a8abd89c61c58e035335c0e7321e28eeb4d88d Mon Sep 17 00:00:00 2001 From: nicodvb Date: Sat, 9 Jun 2007 11:57:22 +0000 Subject: added support for DTS1 audio descriptor git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23527 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_ts.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libmpdemux') diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c index 79484c0ce1..ba318297b0 100644 --- a/libmpdemux/demux_ts.c +++ b/libmpdemux/demux_ts.c @@ -2198,6 +2198,10 @@ static int parse_descriptors(struct pmt_es_t *es, uint8_t *ptr) { es->type = AUDIO_A52; } + else if(d[0] == 'D' && d[1] == 'T' && d[2] == 'S' && d[3] == '1') + { + es->type = AUDIO_DTS; + } else if(d[0] == 'D' && d[1] == 'T' && d[2] == 'S' && d[3] == '2') { es->type = AUDIO_DTS; -- cgit v1.2.3