Ticket #4158: ticket_4158_final.diff

File ticket_4158_final.diff, 803 bytes (added by skamithi, 12 years ago)

final patch.changed location of setting audio pause to false. it was causing a hang on mytharchive dvds.

  • NuppelVideoPlayer.cpp

     
    28272827            int nbframes = videoOutput->ValidVideoFrames();
    28282828            if (nbframes < 2)
    28292829            {
     2830                if (audioOutput)
     2831                    audioOutput->Pause(false);
     2832
    28302833                if (ringBuffer->DVD()->IsWaiting())
    28312834                {
    28322835                    ringBuffer->DVD()->WaitSkip();
     
    37233726    int samples = len / samplesize;
    37243727
    37253728    if (ringBuffer->InDVDMenuOrStillFrame())
    3726     {
    3727         audioOutput->Pause(false);
    37283729        audioOutput->Drain();
    3729     }
    37303730
    37313731    // If there is no warping, just send it to the audioOutput.
    37323732    if (!usevideotimebase)