From b743b4194b5d594f7e0d33da373d2821e750bfb7 Mon Sep 17 00:00:00 2001 From: Daniel Kristjansson Date: Fri, 29 Jul 2011 14:00:27 -0400 Subject: [PATCH] Fix channel browsing mode when video not playing. MythPlayer pausing has changed (for the better), but the channel browsing code was assuming that if MythPlayer::IsPaused() returned true it meant that compositing (the OSD) was disabled. Now the OSD is always active and IsPaused() just means the video itself is not playing. Anyway, we just need to remove the old sanity check code and browse mode works properly again. --- mythtv/libs/libmythtv/tvbrowsehelper.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/mythtv/libs/libmythtv/tvbrowsehelper.cpp b/mythtv/libs/libmythtv/tvbrowsehelper.cpp index 4707531211b..fb07c9bb379 100644 --- a/mythtv/libs/libmythtv/tvbrowsehelper.cpp +++ b/mythtv/libs/libmythtv/tvbrowsehelper.cpp @@ -81,14 +81,6 @@ bool TVBrowseHelper::BrowseStart(PlayerContext *ctx, bool skip_browse) if (m_ctx) return m_ctx == ctx; - bool paused = false; - ctx->LockDeletePlayer(__FILE__, __LINE__); - if (ctx->player) - paused = ctx->player->IsPaused(); - ctx->UnlockDeletePlayer(__FILE__, __LINE__); - if (paused) - return false; - m_tv->ClearOSD(ctx); ctx->LockPlayingInfo(__FILE__, __LINE__);