Ticket #1790: crc_check_verbose.diff

File crc_check_verbose.diff, 679 bytes (added by Janne <janne-mythtv@…>, 14 years ago)

adds verbose output of streamid to ease debugging

  • libs/libmythtv/mpeg/pespacket.cpp

    old new bool PESPacket::VerifyCRC(void) const 
    156156    if (!ret)
    157157    {
    158158        VERBOSE(VB_SIPARSER,
    159                 QString("PESPacket: Failed CRC check 0x%1 != 0x%2")
    160                 .arg(CRC(),0,16).arg(CalcCRC(),0,16));
     159                QString("PESPacket: Failed CRC check 0x%1 != 0x%2 "
     160                        "for StreamID = 0x%3")
     161                .arg(CRC(),0,16).arg(CalcCRC(),0,16).arg(StreamID(),0,16));
    161162    }
    162163    return ret;
    163164}