mirror of https://github.com/mpv-player/mpv
added support for DTS1 audio descriptor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23527 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3c4127353a
commit
90a8abd89c
|
@ -2198,6 +2198,10 @@ static int parse_descriptors(struct pmt_es_t *es, uint8_t *ptr)
|
||||||
{
|
{
|
||||||
es->type = AUDIO_A52;
|
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')
|
else if(d[0] == 'D' && d[1] == 'T' && d[2] == 'S' && d[3] == '2')
|
||||||
{
|
{
|
||||||
es->type = AUDIO_DTS;
|
es->type = AUDIO_DTS;
|
||||||
|
|
Loading…
Reference in New Issue