Ticket #5749: t5749_verbose.diff

File t5749_verbose.diff, 924 bytes (added by Janne Grunau, 16 years ago)
  • mythtv/libs/libmythtv/avformatdecoder.cpp

    diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
    index dedd8c9..ed6ef3a 100644
    a b bool AvFormatDecoder::GetFrame(int onlyvideo) 
    31003100
    31013101        if (gotvideo)
    31023102        {
    3103             if (lowbuffers && onlyvideo == 0 &&
     3103            if (!onlyvideo &&
    31043104                lastapts < lastvpts + 100 &&
    31053105                lastapts > lastvpts - 10000 &&
    31063106                !ringBuffer->InDVDMenuOrStillFrame())
    31073107            {
    3108                 //cout << "behind: " << lastapts << " " << lastvpts << endl;
     3108                VERBOSE(VB_PLAYBACK, QString("Audio is %1 ms behind, queuing video pkts (%2)")
     3109                        .arg(lastvpts-lastapts).arg(storedPackets.count()));
    31093110                storevideoframes = true;
    31103111            }
    31113112            else if (onlyvideo >= 0)