I'm too lazy to comment this
Original commit message from CVS: Fix mpeg version identification bug. The field is 2 bits, not 4, which causes mpegs to sometimes be identified as mpeg1 while it was mpeg2. See #119372. Fix by <meiker@upb.de>
This commit is contained in:
parent
7d28e30c77
commit
0ba3f63b39
@ -72,7 +72,7 @@ parse_packhead (GstMPEGPacketize *packetize)
|
|||||||
GST_DEBUG ("code %02x", *buf);
|
GST_DEBUG ("code %02x", *buf);
|
||||||
|
|
||||||
/* start parsing the stream */
|
/* start parsing the stream */
|
||||||
if ((*buf & 0xf0) == 0x40) {
|
if ((*buf & 0xc0) == 0x40) {
|
||||||
GST_DEBUG ("packetize::parse_packhead setting mpeg2");
|
GST_DEBUG ("packetize::parse_packhead setting mpeg2");
|
||||||
packetize->MPEG2 = TRUE;
|
packetize->MPEG2 = TRUE;
|
||||||
length += 2;
|
length += 2;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user