aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xbmc/cores/VideoRenderers/RenderManager.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/xbmc/cores/VideoRenderers/RenderManager.cpp b/xbmc/cores/VideoRenderers/RenderManager.cpp
index 64273f8be8..b8044c5ef9 100644
--- a/xbmc/cores/VideoRenderers/RenderManager.cpp
+++ b/xbmc/cores/VideoRenderers/RenderManager.cpp
@@ -481,6 +481,14 @@ bool CXBMCRenderManager::Flush()
else
return true;
}
+
+ m_queued.clear();
+ m_discard.clear();
+ m_free.clear();
+ m_presentsource = 0;
+ for (int i = 1; i < m_QueueSize; i++)
+ m_free.push_back(i);
+
return true;
}