Ticket #5749: t5749_enable_storing_video_pkts.diff

File t5749_enable_storing_video_pkts.diff, 560 bytes (added by Janne Grunau, 17 years ago)
  • mythtv/libs/libmythtv/avformatdecoder.cpp

    diff --git a/mythtv/libs/libmythtv/avformatdecoder.cpp b/mythtv/libs/libmythtv/avformatdecoder.cpp
    index dedd8c9..8c3da94 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())