diff options
author | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-09 11:57:22 +0000 |
---|---|---|
committer | nicodvb <nicodvb@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-09 11:57:22 +0000 |
commit | 90a8abd89c61c58e035335c0e7321e28eeb4d88d (patch) | |
tree | 8c5d443acf113be4a6701779110bfcb845e9bc35 /libmpdemux | |
parent | 3c4127353a36fd37d38f08a360d7eb2ff40dd5a6 (diff) |
added support for DTS1 audio descriptor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23527 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/demux_ts.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libmpdemux/demux_ts.c b/libmpdemux/demux_ts.c index 79484c0ce1..ba318297b0 100644 --- a/libmpdemux/demux_ts.c +++ b/libmpdemux/demux_ts.c @@ -2198,6 +2198,10 @@ static int parse_descriptors(struct pmt_es_t *es, uint8_t *ptr) { 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') { es->type = AUDIO_DTS; |