aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfritsch <peter.fruehberger@gmail.com>2015-04-13 17:11:47 +0200
committerfritsch <peter.fruehberger@gmail.com>2015-04-13 18:56:16 +0200
commit81979e6a75d462159ad4f25f5c62339c168ea04b (patch)
tree3f2a3928eff9437a6c07352577d1f1c379b635e9
parentcc252ce781bd00c06a5d422ce5192d73aafed4f1 (diff)
Application: Don't slow down videos rendered on GuiLayer
-rw-r--r--xbmc/Application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index 51fdf849df..2bf52750c3 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -2486,7 +2486,7 @@ void CApplication::FrameMove(bool processEvents, bool processGUI)
#if defined(TARGET_RASPBERRY_PI) || defined(HAS_IMXVPU)
// This code reduces rendering fps of the GUI layer when playing videos in fullscreen mode
// it makes only sense on architectures with multiple layers
- if (g_graphicsContext.IsFullScreenVideo() && !m_pPlayer->IsPausedPlayback())
+ if (g_graphicsContext.IsFullScreenVideo() && !m_pPlayer->IsPausedPlayback() && g_renderManager.IsVideoLayer())
fps = CSettings::Get().GetInt("videoplayer.limitguiupdate");
#endif