Ticket #1456: pespacket_debug.patch
File pespacket_debug.patch, 738 bytes (added by , 18 years ago) |
---|
-
libs/libmythtv/mpeg/pespacket.h
58 58 _fullbuffer(const_cast<unsigned char*>(pesdata)), 59 59 _pesdataSize(0), _allocSize(0) 60 60 { 61 bool test = false; 62 if (!HasCRC()) { 63 test = true; 64 VERBOSE(VB_SIPARSER, QString("PESPacket has no CRC and has length %1").arg(Length())); 65 } 66 61 67 _badPacket = !VerifyCRC(); 62 68 _pesdataSize = max(Length()-1 + (HasCRC() ? 4 : 0), (uint)0); 69 70 if (test) 71 VERBOSE(VB_SIPARSER, "PESPacket created."); 63 72 } 64 73 65 74 private: