# HG changeset patch # User reimar # Date 1264366457 0 # Node ID 30d6f38357c7e7215a6413d7f722a5efcb0b1a06 # Parent d33d65802937039d49a2d97ea45e65c2afb4bad6 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). diff -r d33d65802937 -r 30d6f38357c7 libmpdemux/demux_ts.c --- a/libmpdemux/demux_ts.c Sun Jan 24 20:46:26 2010 +0000 +++ b/libmpdemux/demux_ts.c Sun Jan 24 20:54:17 2010 +0000 @@ -1418,7 +1418,7 @@ 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; }