Ticket #4158: ticket_4158_attempt2.diff

File ticket_4158_attempt2.diff, 776 bytes (added by skamithi, 12 years ago)

patch ensures audio output is never paused.. put unpause function in different thread (video thread) thus allowing audio output during still frame to not hang .

  • libs/libmythtv/NuppelVideoPlayer.cpp

     
    27632763                        indvdstillframe = true;
    27642764                        PauseVideo(false);
    27652765                    }
     2766
     2767                    if (audioOutput)
     2768                        audioOutput->Pause(false);
    27662769                }
    27672770            }
    27682771
     
    36843687    int samples = len / samplesize;
    36853688
    36863689    if (ringBuffer->InDVDMenuOrStillFrame())
    3687     {
    3688         audioOutput->Pause(false);
    36893690        audioOutput->Drain();
    3690     }
    36913691
    36923692    // If there is no warping, just send it to the audioOutput.
    36933693    if (!usevideotimebase)