Ticket #2294: ticket_2294.diff

File ticket_2294.diff, 695 bytes (added by skamithi, 18 years ago)

reproduced the issue. if i disable seekreset at the start of a title, this seems to resolve the issue for me. pls test.

  • avformatdecoder.cpp

     
    467467void AvFormatDecoder::SeekReset(long long newKey, uint skipFrames,
    468468                                bool doflush, bool discardFrames)
    469469{
    470     if (ringBuffer->InDVDMenuOrStillFrame())
    471         return;
    472 
     470    if (ringBuffer->isDVD())
     471    {
     472        if (ringBuffer->InDVDMenuOrStillFrame() ||
     473            newKey == 0)
     474            return;
     475    }
     476           
    473477    VERBOSE(VB_PLAYBACK, LOC +
    474478            QString("SeekReset(%1, %2, %3 flush, %4 discard)")
    475479            .arg(newKey).arg(skipFrames)