Ticket #6612: NVP_video_actually_paused_fix.diff

File NVP_video_actually_paused_fix.diff, 836 bytes (added by Shane Shrybman, 11 years ago)

Fix for video_actually_paused state and don't check PrebufferEnoughFrames?() when paused.

  • mythtv/libs/libmythtv/NuppelVideoPlayer.cpp

    bool NuppelVideoPlayer::PrebufferEnoughFrames(void) 
    28062806
    28072807void NuppelVideoPlayer::DisplayNormalFrame(void)
    28082808{
    2809     SetVideoActuallyPaused(false);
     2809    SetVideoActuallyPaused(paused);
    28102810    resetvideo = false;
    28112811
    28122812    if (!player_ctx->buffer->InDVDMenuOrStillFrame() ||
    28132813        (player_ctx->buffer->DVD()->NumMenuButtons() > 0 &&
    28142814        player_ctx->buffer->DVD()->GetChapterLength() > 3))
    28152815    {
    2816         if (!PrebufferEnoughFrames())
     2816        if (paused || !PrebufferEnoughFrames())
    28172817        {
    28182818            // When going to switch channels
    28192819            if (paused)