[mythtv-commits] mythtv commit: r22350 by danielk

mythtv at cvs.mythtv.org mythtv at cvs.mythtv.org
Fri Oct 9 21:02:52 UTC 2009


      Author: danielk
        Date: 2009-10-09 21:02:52 +0000 (Fri, 09 Oct 2009)
New Revision: 22350
   Changeset: http://cvs.mythtv.org/trac/changeset/22350

Modified:

   trunk/mythtv/libs/libmythui/mythmainwindow.cpp

Log:

Workaround for no video on playback issue with XVideo, XvMC & VDPAU video renderers.

The real bug is that there is no synchronization between the setting of the setting of the m_drawEnabled variable and the thread that uses it. This commit does not introduce such syncronization, but prevents the problem from occurring on fast machines. First it makes the m_drawEnabled variable volatile, so that all threads see the same state of that variable relatively quickly. Second, after setting the variable we wait 50 milliseconds, which should be sufficient for all in progress MythUI repaints to finish.






More information about the mythtv-commits mailing list