aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Zelend <ace20022@xbmc.org>2018-08-23 18:43:47 +0200
committerGitHub <noreply@github.com>2018-08-23 18:43:47 +0200
commit964e573b53f4d13784d53c7b3a9709c8059e7142 (patch)
tree06d1652cd7599628af88e0b4261b85c2e590e150
parentb5b6c857e84938d434efc18181252121524f2c23 (diff)
parent9fec13f7b494ee5adf4b14f847c41fab1aa4188d (diff)
Merge pull request #14340 from ace20022/menu_cache
[videoplayer] Always report "not caching" while browsing disc menus.
-rw-r--r--xbmc/cores/VideoPlayer/VideoPlayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/cores/VideoPlayer/VideoPlayer.cpp b/xbmc/cores/VideoPlayer/VideoPlayer.cpp
index 1cb0e6574c..9c924ffb73 100644
--- a/xbmc/cores/VideoPlayer/VideoPlayer.cpp
+++ b/xbmc/cores/VideoPlayer/VideoPlayer.cpp
@@ -4555,7 +4555,7 @@ void CVideoPlayer::AddSubtitle(const std::string& strSubPath)
bool CVideoPlayer::IsCaching() const
{
CSingleLock lock(m_StateSection);
- return m_State.caching;
+ return !m_State.isInMenu && m_State.caching;
}
int CVideoPlayer::GetCacheLevel() const