summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTaylor Ralph <tralph@mythtv.org>2011-08-13 02:20:06 (GMT)
committer Taylor Ralph <tralph@mythtv.org>2011-08-13 02:20:06 (GMT)
commit39f6a97b99b2fc0fd21dd2858a03467f63bd2c8d (patch)
tree3d9cb08f09cff7f1eafeb0b008cebceb2c353e45
parent3a5f78862a5be39e02ee549551d59e9c40fa575d (diff)
Fix LiveTV channel browsing start channel.
This backports a portion of d14b660c168b3ead0ce0ea8bec49243325e73047 which fixed the problem in master. Fixes #9540
-rw-r--r--mythtv/libs/libmythtv/tvbrowsehelper.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/mythtv/libs/libmythtv/tvbrowsehelper.cpp b/mythtv/libs/libmythtv/tvbrowsehelper.cpp
index d08db85..e635e9d 100644
--- a/mythtv/libs/libmythtv/tvbrowsehelper.cpp
+++ b/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);
}