summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-02-09 11:20:04 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2011-02-09 15:58:34 (GMT)
commit54a300f80fe1c56ec31e5680fb82f8568c886d12 (patch)
treea5f35fe0542cf2562d87193dd80f8d90ee1d1841
parentd0976dab0f5eef1473cb11900774aea478d27f02 (diff)
LiveTV: Construct the TV object immediately.
This was a hangover from the old playback threading model which was just slowing down startup. This also fixes the issue of LiveTV hanging when 'Start TV in Program Guide' is enabled, though I will follow this up with additional improvements in that area. (cherry picked from commit 48bf9de47c21480b6a03ce0848a25fc6a140c203)
-rw-r--r--mythtv/libs/libmythtv/tv_play.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/mythtv/libs/libmythtv/tv_play.cpp b/mythtv/libs/libmythtv/tv_play.cpp
index 7818d10..7aa11a0 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/mythtv/libs/libmythtv/tv_play.cpp
@@ -1346,7 +1346,7 @@ bool TV::LiveTV(bool showDialogs, bool startInGuide)
RequestNextRecorder(actx, showDialogs))
{
actx->SetInitialTVState(true);
- ScheduleStateChange(actx);
+ HandleStateChange(actx, actx);
switchToRec = NULL;
// Start Idle Timer