Ticket #7891: patch1.diff

File patch1.diff, 798 bytes (added by John Harvey <john.p.harvey@…>, 11 years ago)
  • NuppelVideoPlayer.cpp

     
    25662566                        "\t\t\tdoubling video frame interval to slow down.").arg(diverge));
    25672567    }
    25682568
     2569    audio_lock.lock();
    25692570    if (audioOutput && normal_speed)
    25702571    {
    25712572        long long currentaudiotime = audioOutput->GetAudiotime();
     2573        audio_lock.unlock();
    25722574#if 0
    25732575        VERBOSE(VB_PLAYBACK+VB_TIMESTAMP, QString(
    25742576                    "A/V timecodes audio %1 video %2 frameinterval %3 "
     
    26312633            avsync_avg = 0;
    26322634            avsync_oldavg = 0;
    26332635        }
    2634     }
     2636    } else
     2637        audio_lock.unlock();
    26352638}
    26362639
    26372640void NuppelVideoPlayer::ShutdownAVSync(void)