Mercurial > mplayer.hg
diff libmpdemux/demux_ts.c @ 24676:c03afe4ed741
support for DTS as specified in DVB (untested)
author | nicodvb |
---|---|
date | Wed, 03 Oct 2007 21:39:01 +0000 |
parents | 2ab48a4978d4 |
children | 1da7ab18df33 |
line wrap: on
line diff
--- a/libmpdemux/demux_ts.c Wed Oct 03 17:06:27 2007 +0000 +++ b/libmpdemux/demux_ts.c Wed Oct 03 21:39:01 2007 +0000 @@ -2146,6 +2146,14 @@ 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;