Skip to content

Commit

Permalink
renderer: exit gfx lock when waiting for present time
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta authored and popcornmix committed Jan 6, 2015
1 parent 1adca0c commit c58b02e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xbmc/cores/VideoRenderers/RenderManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,10 @@ void CXBMCRenderManager::FrameFinish()
SPresent& m = m_Queue[m_presentsource];

if(g_graphicsContext.IsFullScreenVideo())
{
CSingleExit lock(g_graphicsContext);
WaitPresentTime(m.timestamp);
}

m_clock_framefinish = GetPresentTime();

Expand Down

0 comments on commit c58b02e

Please sign in to comment.