Skip to content

Commit

Permalink
VideoPlayer: avoid killing queued frames on reconfigure of renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
FernetMenta authored and popcornmix committed Jan 13, 2016
1 parent 56a26a0 commit 779504e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp
Expand Up @@ -282,7 +282,7 @@ bool CRenderManager::Configure(DVDVideoPicture& picture, float fps, unsigned fla
{
CSingleLock lock(m_presentlock);
XbmcThreads::EndTime endtime(5000);
while(m_presentstep != PRESENT_IDLE && m_presentstep != PRESENT_READY)
while (m_presentstep != PRESENT_IDLE)
{
if(endtime.IsTimePast())
{
Expand Down

0 comments on commit 779504e

Please sign in to comment.