diff options
author | Rainer Hochecker <fernetmenta@online.de> | 2015-07-26 14:21:51 +0200 |
---|---|---|
committer | Rainer Hochecker <fernetmenta@online.de> | 2015-07-27 18:00:49 +0200 |
commit | 530076907abe04c2157e7c5f0fd9da410a1ecc00 (patch) | |
tree | 933c2087a42747cee0a388d316a3697756b5cad5 | |
parent | f598a63ac81bc17990bb621e8e9cd82c2a4086e3 (diff) |
renderer: reset timestamp of current frame on flush
-rw-r--r-- | xbmc/cores/VideoRenderers/RenderManager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/xbmc/cores/VideoRenderers/RenderManager.cpp b/xbmc/cores/VideoRenderers/RenderManager.cpp index 018a24061c..8039e5e001 100644 --- a/xbmc/cores/VideoRenderers/RenderManager.cpp +++ b/xbmc/cores/VideoRenderers/RenderManager.cpp @@ -1221,8 +1221,10 @@ void CXBMCRenderManager::DiscardBuffer() while(!m_queued.empty()) requeue(m_discard, m_queued); + m_Queue[m_presentsource].timestamp = GetPresentTime(); + if(m_presentstep == PRESENT_READY) - m_presentstep = PRESENT_IDLE; + m_presentstep = PRESENT_IDLE; m_presentevent.notifyAll(); } |