From f3343374265cb73dc80f559c3acd74fbd2375c89 Mon Sep 17 00:00:00 2001 From: nicodvb Date: Wed, 3 Oct 2007 21:39:01 +0000 Subject: [PATCH] support for DTS as specified in DVB (untested) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24696 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/demux_ts.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c index ac25628821..996a957a0c 100644 --- a/libmpdemux/demux_ts.c +++ b/libmpdemux/demux_ts.c @@ -2146,6 +2146,14 @@ static int parse_descriptors(struct pmt_es_t *es, uint8_t *ptr) mp_msg(MSGT_DEMUX, MSGL_DBG2, "DVB A52 Descriptor\n"); } } + else if(ptr[j] == 0x7b) //DVB DTS Descriptor + { + if(es->type == 0x6) + { + es->type = AUDIO_DTS; + mp_msg(MSGT_DEMUX, MSGL_DBG2, "DVB DTS Descriptor\n"); + } + } else if(ptr[j] == 0x59) //Subtitling Descriptor { uint8_t subtype;