Skip to content
Browse files

Fix LiveTV channel browsing start channel.

This backports a portion of d14b660 which fixed the problem in master.

Fixes #9540
  • Loading branch information...
1 parent 3a5f788 commit 39f6a97b99b2fc0fd21dd2858a03467f63bd2c8d @tralph tralph committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 mythtv/libs/libmythtv/tvbrowsehelper.cpp
View
10 mythtv/libs/libmythtv/tvbrowsehelper.cpp
@@ -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);
}

0 comments on commit 39f6a97

Please sign in to comment.
Something went wrong with that request. Please try again.