[mythtv-commits] mythtv commit: r25546 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Tue Aug 3 09:34:57 UTC 2010


      Author: markk
        Date: 2010-08-03 09:34:57 +0000 (Tue, 03 Aug 2010)
New Revision: 25546
   Changeset: http://svn.mythtv.org/trac/changeset/25546

Modified:

   trunk/mythtv/libs/libmythtv/NuppelVideoPlayer.cpp
   trunk/mythtv/libs/libmythtv/NuppelVideoPlayer.h

Log:

Create a queue of player events to ensure that the video playback loop
runs continuously.

The new playback event mechanism introduced in r25538 does not work well
when the framerate is at or near the refresh rate or the system is
otherwise busy. By maintaining a queue of playback events, we ensure the
next loop iteration is triggered as soon as possible while continuing to
process system events.

As commented in the code, if we start to lose events, playback will fail
but I'm not aware of situtations under which Qt drops or loses events.





More information about the mythtv-commits mailing list