Ticket #11233: storedpackets_debug.patch

File storedpackets_debug.patch, 725 bytes (added by peper03@…, 8 years ago)

Test patch to added logging of the state of the video buffer

  • mythtv/libs/libmythtv/avformatdecoder.cpp

    diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
    index 2241fb8..2a7ff2f 100644
    a b bool AvFormatDecoder::GetFrame(DecodeType decodetype) 
    44634463            }
    44644464        }
    44654465
     4466        LOG(VB_GENERAL, LOG_INFO, LOC +
     4467            QString("Storevideoframes: %1, Count: %2, lastapts: %3, lastvpts: %4 (%5)")
     4468                .arg(storevideoframes)
     4469                .arg(storedPackets.count())
     4470                .arg(lastapts)
     4471                .arg(lastvpts));
     4472
    44664473        if (!storevideoframes && storedPackets.count() > 0)
    44674474        {
    44684475            if (pkt)