[mythtv-commits] Ticket #8630: Unreliable QTimer in NupplePlayer

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

#8630: Unreliable QTimer in NupplePlayer
 Reporter:  Vitold <vitold.md@…>          |        Owner:  janne     
     Type:  patch                         |       Status:  closed    
 Priority:  minor                         |    Milestone:  0.24      
Component:  MythTV - Video Playback       |      Version:  Trunk Head
 Severity:  medium                        |   Resolution:  fixed     
  Mlocked:  0                             |  
Changes (by markk):

  * status:  new => closed
  * resolution:  => fixed


 (In [25538]) 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

 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

 Closes #8630.

Ticket URL: <http://svn.mythtv.org/trac/ticket/8630#comment:5>
MythTV <http://www.mythtv.org/>

More information about the mythtv-commits mailing list