Ticket #11730: 11730.alt.patch

File 11730.alt.patch, 668 bytes (added by Mark Spieth, 6 years ago)

alternate root cause patch. Tested

  • mythtv/libs/libmythtv/mythplayer.cpp

    diff --git a/mythtv/libs/libmythtv/mythplayer.cpp b/mythtv/libs/libmythtv/mythplayer.cpp
    index 79305e6..4433297 100644
    a b void MythPlayer::AVSync(VideoFrame *buffer, bool limit_delay) 
    18771877        lastsync = true;
    18781878        //currentaudiotime = AVSyncGetAudiotime();
    18791879        LOG(VB_PLAYBACK, LOG_INFO, LOC + dbg + "dropping frame to catch up.");
    1880         if (!audio.IsPaused() && max_video_behind)
     1880        if (!audio.IsPaused() && max_video_behind && (GetEof() != kEofStateDelayed))
    18811881        {
    18821882            audio.Pause(true);
    18831883            avsync_audiopaused = true;