Skip to content

Commit

Permalink
Fix channel browsing mode when video not playing.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
daniel-kristjansson committed Jul 29, 2011
1 parent 7ad539e commit b743b41
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions mythtv/libs/libmythtv/tvbrowsehelper.cpp
Expand Up @@ -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__);
Expand Down

0 comments on commit b743b41

Please sign in to comment.