Skip to content

Commit

Permalink
[rendermanager] Include PRESENT_READY in HasFrame check
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed Aug 2, 2015
1 parent 8993267 commit a324976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/VideoRenderers/RenderManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ void CXBMCRenderManager::FrameWait(int ms)
bool CXBMCRenderManager::HasFrame()
{
CSingleLock lock(m_presentlock);
if (m_presentstep == PRESENT_FRAME || m_presentstep == PRESENT_FRAME2)
if (m_presentstep == PRESENT_FRAME || m_presentstep == PRESENT_FRAME2 || m_presentstep == PRESENT_READY)
return true;
else
return false;
Expand Down

0 comments on commit a324976

Please sign in to comment.