mirror of
https://github.com/mpv-player/mpv
synced 2025-03-05 05:37:37 +00:00
fixed wrong assignment of stream type in generic PES_PRIVATE1 streams (didn't respect the type qualified in the PMT)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18565 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b938bd87d4
commit
38df528583
@ -1351,7 +1351,7 @@ static int pes_parse2(unsigned char *buf, uint16_t packet_len, ES_stream_t *es,
|
||||
mp_msg(MSGT_DEMUX, MSGL_DBG2, "PES_PRIVATE1\n");
|
||||
es->start = p;
|
||||
es->size = packet_len;
|
||||
es->type = PES_PRIVATE1;
|
||||
es->type = (type_from_pmt == UNKNOWN ? PES_PRIVATE1 : type_from_pmt);
|
||||
es->payload_size -= packet_len;
|
||||
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user