[mythtv-commits] mythtv commit: r20688 by shane

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Thu Jun 11 14:35:48 UTC 2009

      Author: shane
        Date: 2009-06-11 14:35:48 +0000 (Thu, 11 Jun 2009)
New Revision: 20688
   Changeset: http://cvs.mythtv.org/trac/changeset/20688




Closes #6605. Fix 'LiveTV forcing JumpTo 1' endless loop.

If playback is in SwitchToProgram() doing a livetv continuous file transition
and the decoder reaches the of the file after waitingForChange has been set to
true, the decoder will never call the FileChanged() callback to complete the
SwitchToProgram() transition.

However, if there is another file in the tvchain NVP will try to force a
jump to the next file by calling JumpToNext(true, 1). But, since GetDecoder()->
GetWaitForChange() returns true. JumpToProgram() will never be called to do
the transition.

Fix by not testing waitingForChange if a JumpToProgram() is needed.

Thanks to elmojo, and iamlindoro and others for testing.

More information about the mythtv-commits mailing list