mirror of https://github.com/mpv-player/mpv
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:
parent
2e06eae9a0
commit
f334337426
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue