Ticket #68: decoder.diff

File decoder.diff, 905 bytes (added by jbeuree@…, 14 years ago)

[Patch] Fix truncated seeking

  • ivtvdecoder.cpp

     
    535535    m_parent->SetFramesPlayed(videoPlayed);
    536536}
    537537
    538 bool IvtvDecoder::StepFrames(int start, int count)
     538bool IvtvDecoder::StepFrames(long long start, long long count)
    539539{
    540540    VideoOutputIvtv *videoout = (VideoOutputIvtv *)m_parent->getVideoOutput();
    541541
  • ivtvdecoder.h

     
    6161    void SeekReset(long long newkey = 0, int skipframes = 0,
    6262                   bool needFlush = false);
    6363    bool ReadWrite(int onlyvideo, long stopframe = LONG_MAX);
    64     bool StepFrames(int start, int count);
     64    bool StepFrames(long long start, long long count);
    6565
    6666    int frame_decoded;
    6767