From 2d950e11a5515278b504c8a522f52be74898eb2c Mon Sep 17 00:00:00 2001 From: Portisch Date: Tue, 14 Jan 2025 12:17:09 +0100 Subject: [PATCH] [CDVDOverlay] Mark dirty region before render overlay --- xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.cpp b/xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.cpp index 06c43442363..2efb2cddb91 100644 --- a/xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.cpp +++ b/xbmc/cores/VideoPlayer/VideoRenderers/OverlayRenderer.cpp @@ -17,6 +17,8 @@ #include "cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayImage.h" #include "cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlayLibass.h" #include "cores/VideoPlayer/DVDCodecs/Overlay/DVDOverlaySpu.h" +#include "guilib/GUIComponent.h" +#include "guilib/GUIWindowManager.h" #include "settings/DisplaySettings.h" #include "settings/Settings.h" #include "settings/SettingsComponent.h" @@ -243,6 +245,7 @@ void CRenderer::Render(COverlay* o) state.x += GetStereoscopicDepth(o->m_pgsSubtitle, o->m_3dSubtitleDepth); + CServiceBroker::GetGUI()->GetWindowManager().MarkDirty(CRect(state.x, state.y, state.width, state.height)); o->Render(state); }