Permalink
Browse files

VideoPlayer: avoid killing queued frames on reconfigure of renderer

  • Loading branch information...
FernetMenta authored and popcornmix committed Jan 13, 2016
1 parent e84dcea commit 2bde9c4c1258428a614c493022cb1c03c84fe812
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp
@@ -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())
{

0 comments on commit 2bde9c4

Please sign in to comment.