Ticket #12313: pvr-150-integer.patch

File pvr-150-integer.patch, 668 bytes (added by faginbagin <mythtv@…>, 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 099f8a6..4652c48 100644
    a b void DTVRecorder::FindPSKeyFrames(const uint8_t *buffer, uint len) 
    11351135        if (hasKeyFrame)
    11361136        {
    11371137            _last_keyframe_seen = _frames_seen_count;
    1138             HandleKeyframe(_payload_buffer.size() - (bufptr - bufstart));
     1138            HandleKeyframe((int64_t)_payload_buffer.size() - (bufptr - bufstart));
    11391139        }
    11401140
    11411141        if ((aspectRatio > 0) && (aspectRatio != m_videoAspect))