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 11:20:04 (GMT)
commit48bf9de47c21480b6a03ce0848a25fc6a140c203 (patch)
treee0fc52c98407f5fc518deeeaefefcc80fdd44a1f
parent27e125fd73cc02634af4ff035a51a718454132eb (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.
-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 685986d..d1a9df4 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/mythtv/libs/libmythtv/tv_play.cpp
@@ -1280,7 +1280,7 @@ bool TV::LiveTV(bool showDialogs, bool startInGuide)
RequestNextRecorder(actx, showDialogs))
{
actx->SetInitialTVState(true);
- ScheduleStateChange(actx);
+ HandleStateChange(actx, actx);
switchToRec = NULL;
// Start Idle Timer