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:
nicodvb 2006-06-04 23:16:09 +00:00
parent b938bd87d4
commit 38df528583
1 changed files with 1 additions and 1 deletions

View File

@ -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;