Ticket #6612: NVP_video_actually_paused_fix.diff
File NVP_video_actually_paused_fix.diff, 836 bytes (added by , 15 years ago) |
---|
-
mythtv/libs/libmythtv/NuppelVideoPlayer.cpp
bool NuppelVideoPlayer::PrebufferEnoughFrames(void) 2806 2806 2807 2807 void NuppelVideoPlayer::DisplayNormalFrame(void) 2808 2808 { 2809 SetVideoActuallyPaused( false);2809 SetVideoActuallyPaused(paused); 2810 2810 resetvideo = false; 2811 2811 2812 2812 if (!player_ctx->buffer->InDVDMenuOrStillFrame() || 2813 2813 (player_ctx->buffer->DVD()->NumMenuButtons() > 0 && 2814 2814 player_ctx->buffer->DVD()->GetChapterLength() > 3)) 2815 2815 { 2816 if ( !PrebufferEnoughFrames())2816 if (paused || !PrebufferEnoughFrames()) 2817 2817 { 2818 2818 // When going to switch channels 2819 2819 if (paused)