Skip to content

Commit

Permalink
Fix LiveTV channel browsing start channel.
Browse files Browse the repository at this point in the history
This backports a portion of d14b660 which fixed the problem in master.

Fixes #9540
  • Loading branch information
tralph committed Aug 13, 2011
1 parent 3a5f788 commit 39f6a97
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mythtv/libs/libmythtv/tvbrowsehelper.cpp
Expand Up @@ -79,15 +79,15 @@ bool TVBrowseHelper::BrowseStart(PlayerContext *ctx, bool skip_browse)
ctx->LockPlayingInfo(__FILE__, __LINE__);
if (ctx->playingInfo)
{
m_ctx = ctx;
BrowseInfo bi(BROWSE_SAME,
ctx->playingInfo->GetChanNum(),
ctx->playingInfo->GetChanID(),
ctx->playingInfo->GetScheduledStartTime(ISODate));
m_ctx = ctx;
m_channum = ctx->playingInfo->GetChanNum();
m_chanid = ctx->playingInfo->GetChanID();
m_starttime = ctx->playingInfo->GetScheduledStartTime(ISODate);
ctx->UnlockPlayingInfo(__FILE__, __LINE__);

if (!skip_browse)
{
BrowseInfo bi(BROWSE_SAME, m_channum, m_chanid, m_starttime);
locker.unlock();
BrowseDispInfo(ctx, bi);
}
Expand Down

0 comments on commit 39f6a97

Please sign in to comment.