From 18d88863ee7ba3b949436d9afd9cdc0da78f2d76 Mon Sep 17 00:00:00 2001 From: Portisch Date: Wed, 1 Jan 2025 20:31:42 +0100 Subject: [PATCH] TEMP:Rendermanager: add skip frame debug --- xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp b/xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp index 444ff991a8f..b0b9d6016ed 100644 --- a/xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp +++ b/xbmc/cores/VideoPlayer/VideoRenderers/RenderManager.cpp @@ -1235,6 +1235,11 @@ void CRenderManager::PrepareNextRender() if (renderPts < m_Queue[*iter].pts + x * frametime) break; lateframes++; + + CLog::LogFC(LOGDEBUG, LOGAVTIMING, + "{:d}: {:.3f} < {:.3f} + {:.2f} * {:.3f}", + lateframes, renderPts / DVD_TIME_BASE, m_Queue[*iter].pts / DVD_TIME_BASE, x, frametime); + idx = *iter; ++iter; }