support for DTS as specified in DVB (untested)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24696 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nicodvb 2007-10-03 21:39:01 +00:00
parent 2e06eae9a0
commit f334337426
1 changed files with 8 additions and 0 deletions

View File

@ -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;