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.
(cherry picked from commit 48bf9de)
  • Loading branch information...
1 parent d0976da commit 54a300f80fe1c56ec31e5680fb82f8568c886d12 Mark Kendall committed Feb 9, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 mythtv/libs/libmythtv/tv_play.cpp
@@ -1346,7 +1346,7 @@ bool TV::LiveTV(bool showDialogs, bool startInGuide)
RequestNextRecorder(actx, showDialogs))
- ScheduleStateChange(actx);
+ HandleStateChange(actx, actx);
switchToRec = NULL;
// Start Idle Timer

0 comments on commit 54a300f

Please sign in to comment.