summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Kendall <mkendall@mythtv.org>2011-02-09 15:12:39 (GMT)
committer Mark Kendall <mkendall@mythtv.org>2011-02-09 15:12:39 (GMT)
commit6834dbaaf15229f84f91d02a0bcdbe46747f15a5 (patch)
tree8d97e689f7df9d81b9e72008abdaf6d80b3768af
parentbb144de751dab3ea8a4e0f24d6043da369c6c59c (diff)
Non LiveTV: Construct the TV object immediately.
As previously noted in the live tv change:- "This was a hangover from the old playback threading model which was just slowing down startup."
-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 40f0fad..bbd5d51 100644
--- a/mythtv/libs/libmythtv/tv_play.cpp
+++ b/mythtv/libs/libmythtv/tv_play.cpp
@@ -1681,7 +1681,7 @@ int TV::Playback(const ProgramInfo &rcinfo)
mctx->SetPlayingInfo(&rcinfo);
mctx->SetInitialTVState(false);
- ScheduleStateChange(mctx);
+ HandleStateChange(mctx, mctx);
ReturnPlayerLock(mctx);