Qt: Fix excess wakeups in VideoProxy
Vicki Pfau vi@endrift.com
Tue, 28 May 2019 23:15:15 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/platform/qt/VideoProxy.cpp
→
src/platform/qt/VideoProxy.cpp
@@ -62,7 +62,6 @@ m_toThreadCond.wakeAll();
m_fromThreadCond.wait(&m_mutex); m_mutex.unlock(); } - emit dataAvailable(); return true; }@@ -109,6 +108,7 @@ }
void VideoProxy::wake(int y) { if ((y & 15) == 15) { + emit dataAvailable(); m_toThreadCond.wakeAll(); } }