[MPlayer-cvslog] r30429 - trunk/libmpdemux/demux_ts.c
reimar
subversion at mplayerhq.hu
Sun Jan 24 21:54:17 CET 2010
Author: reimar
Date: Sun Jan 24 21:54:17 2010
New Revision: 30429
Log:
If audio was identified as DTS in the PMT do not override that with TrueHD
based only on substream id.
Works with all available DTS and TrueHD samples available (2 each).
Modified:
trunk/libmpdemux/demux_ts.c
Modified: trunk/libmpdemux/demux_ts.c
==============================================================================
--- trunk/libmpdemux/demux_ts.c Sun Jan 24 21:46:26 2010 (r30428)
+++ trunk/libmpdemux/demux_ts.c Sun Jan 24 21:54:17 2010 (r30429)
@@ -1418,7 +1418,7 @@ static int pes_parse2(unsigned char *buf
int ssid = parse_pes_extension_fields(p, pkt_len);
if((audio_substream_id!=-1) && (ssid != audio_substream_id))
return 0;
- if(ssid == 0x72)
+ if(ssid == 0x72 && type_from_pmt != AUDIO_DTS)
es->type = type_from_pmt = AUDIO_TRUEHD;
}
More information about the MPlayer-cvslog
mailing list