mirror of https://github.com/mpv-player/mpv
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). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30429 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
fb8c6688c9
commit
2e50d88ab2
|
@ -1418,7 +1418,7 @@ static int pes_parse2(unsigned char *buf, uint16_t packet_len, ES_stream_t *es,
|
|||
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue