[mythtv-commits] mythtv commit: r24282 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Wed Apr 28 06:12:36 UTC 2010


      Author: markk
        Date: 2010-04-28 06:12:36 +0000 (Wed, 28 Apr 2010)
New Revision: 24282
   Changeset: http://svn.mythtv.org/trac/changeset/24282

Modified:

   branches/libmythui-osd/libs/libmythtv/NuppelVideoPlayer.cpp

Log:

Branch libmythui-osd: Clean up state handling when near the end of a
file.

Firstly, ensure the decoder loop does not attempt any further decoding
when the eof is seen, unless in livetv (although if the rest of the code
is working correctly, eof should not be seen in livetv). This is largely
cosmetic as it avoids spamming the log with decoder errors.

Secondly, end playback if eof is set outside of livetv. This should be a
last resort as, again, if the rest of the code is working correctly, the
tv object should have already detected the end of file and either
prompted the user for the appropriate action to take or ended playback
directly.

Thirdly, tidy up detection and stopping of fastforward, timestretch etc
when near the end of the file. This ensures normal playback is triggered
in all cases and the tv object can then handle a graceful exit.

Finally, add some comments on the main actions within EventLoop.

Refs #7650.





More information about the mythtv-commits mailing list