aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpopcornmix <popcornmix@gmail.com>2016-08-17 14:57:58 +0100
committerpopcornmix <popcornmix@gmail.com>2016-08-17 14:58:41 +0100
commita2227b840c2a6e1d71e6f75ded805013f8a016a9 (patch)
treec79b6bffd2503fec28151a2e289cc2bc900127d9
parent475f3e438425b31484bde9617fa94b6e0110b854 (diff)
TextureManager: We still need to free textures when playing video
Currently if you background video and scroll through movie library we never release the textures resulting in a huge memory leak. See: http://forum.kodi.tv/showthread.php?tid=228120
-rw-r--r--xbmc/Application.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/xbmc/Application.cpp b/xbmc/Application.cpp
index 9e94e51332..98b8506f17 100644
--- a/xbmc/Application.cpp
+++ b/xbmc/Application.cpp
@@ -4510,8 +4510,7 @@ void CApplication::ProcessSlow()
// check for any idle curl connections
g_curlInterface.CheckIdle();
- if (!m_pPlayer->IsPlayingVideo())
- g_largeTextureManager.CleanupUnusedImages();
+ g_largeTextureManager.CleanupUnusedImages();
g_TextureManager.FreeUnusedTextures(5000);