renderer: reduce thread ping ponging by using real condition variable
[vuplus_xbmc] / xbmc / cores / VideoRenderers / RenderManager.h
index 4efabde..b75bbe0 100644 (file)
@@ -247,7 +247,7 @@ protected:
   EPRESENTMETHOD m_presentmethod;
   EPRESENTSTEP     m_presentstep;
   int        m_presentsource;
-  CEvent     m_presentevent;
+  XbmcThreads::ConditionVariable  m_presentevent;
   CCriticalSection m_presentlock;
   CEvent     m_flushEvent;