Ticket #7890: patch.diff

File patch.diff, 860 bytes (added by John Harvey <john.p.harvey@…>, 14 years ago)
  • NuppelVideoPlayer.cpp

     
    572572void NuppelVideoPlayer::PauseVideo(bool wait)
    573573{
    574574    QMutexLocker locker(&pauseUnpauseLock);
    575     video_actually_paused = false;
     575    if (wait)
     576      video_actually_paused = false;
    576577    pausevideo = true;
    577 
    578578    for (uint i = 0; wait && !video_actually_paused; i++)
    579579    {
    580580        videoThreadPaused.wait(&pauseUnpauseLock, 250);
     
    30523052                        continue;
    30533053                    }
    30543054
    3055                     if (!pausevideo && nbframes == 1)
     3055                    if (!video_actually_paused && nbframes == 1)
    30563056                    {
    30573057                        dvd_stillframe_showing = true;
    30583058                        PauseVideo(false);