Ticket #11854: Hack-MPEG2-noFrame.patch

File Hack-MPEG2-noFrame.patch, 536 bytes (added by jpoet, 6 years ago)
  • mythtv/libs/libmythtv/recorders/dtvrecorder.cpp

    diff --git a/mythtv/libs/libmythtv/recorders/dtvrecorder.cpp b/mythtv/libs/libmythtv/recorders/dtvrecorder.cpp
    index d7c2b75..e8071fd 100644
    a b bool DTVRecorder::FindMPEG2Keyframes(const TSPacket* tspacket) 
    533533        }
    534534    }
    535535
     536    if (_payload_buffer.size() > 10*1024*1024)
     537        hasFrame = true;
     538
    536539    if (hasFrame && !hasKeyFrame)
    537540    {
    538541        // If we have seen kMaxKeyFrameDistance frames since the