Ticket #1043: dvd_totalframechange_not_detected.patch

File dvd_totalframechange_not_detected.patch, 814 bytes (added by skamithi, 20 years ago)

bug fix. some dvds start the main feature without changing the title.

  • libs/libmythtv/avformatdecoder.cpp

     
    447447void AvFormatDecoder::SeekReset(long long newKey, uint skipFrames,
    448448                                bool doflush, bool discardFrames)
    449449{
    450     if (ringBuffer->InDVDMenuOrStillFrame())
    451         return;
     450    if (ringBuffer->isDVD())
     451    {
     452        posmapStarted = false;
     453        m_positionMap.clear();
     454        SyncPositionMap();
     455                                                                 
     456        if (ringBuffer->InDVDMenuOrStillFrame())
     457            return;
     458    }
    452459
    453460    VERBOSE(VB_PLAYBACK, LOC +
    454461            QString("SeekReset(%1, %2, %3 flush, %4 discard)")