Permalink
Browse files

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.
  • Loading branch information...
1 parent 27e125f commit 48bf9de47c21480b6a03ce0848a25fc6a140c203 Mark Kendall committed Feb 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit 48bf9de

Please sign in to comment.