From 6cf3d8af3187b09a07b2c567452df8545833db21 Mon Sep 17 00:00:00 2001 From: Dom Cobley Date: Thu, 7 Jul 2022 12:31:12 +0100 Subject: [PATCH] RendererDRMPRIME: Remove NeedBuffer check for valid fd This check breaks DVD menus. All calls return true which prevents new pictures being released, stalling DVD menus --- .../VideoRenderers/HwDecRender/RendererDRMPRIME.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererDRMPRIME.cpp b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererDRMPRIME.cpp index e304d601d2755..f2ea9d246c81b 100644 --- a/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererDRMPRIME.cpp +++ b/xbmc/cores/VideoPlayer/VideoRenderers/HwDecRender/RendererDRMPRIME.cpp @@ -179,10 +179,6 @@ bool CRendererDRMPRIME::NeedBuffer(int index) if (m_iLastRenderBuffer == index) return true; - CVideoBufferDRMPRIME* buffer = dynamic_cast(m_buffers[index].videoBuffer); - if (buffer && buffer->m_fb_id) - return true; - return false; }