[mythtv-commits] mythtv commit: r25538 by markk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Mon Aug 2 12:51:09 UTC 2010


      Author: markk
        Date: 2010-08-02 12:51:09 +0000 (Mon, 02 Aug 2010)
New Revision: 25538
   Changeset: http://svn.mythtv.org/trac/changeset/25538

Modified:

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

Log:

Replace the QTimer in PlayerTimer with a custom event type.

Video playback currently relies on a special case QTimer event that
calls the playback loop once all other events have been processed in the
main event loop. This is, for reasons unknown, broken on OS X and Qt
4.6.

So instead just use our own playback event to trigger the playback loop
and send a new one at the end of each iteration. This should, in theory
at least, mimic the current behaviour without the QTimer reliance (which
seems to be causing problems at different times on different platforms).

Tested on Ubuntu 10.04, OS X 10.5, OS X 10.6 and windows vista without
issue.

Closes #8630.





More information about the mythtv-commits mailing list