aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorarnova <arnova@void.org>2019-12-16 11:28:07 +0100
committerarnova <arnova@void.org>2021-04-27 09:26:27 +0200
commit6efb43eebd53b7cdfeb5d5829199c3764862689b (patch)
tree98016243a740ac55352c8985f13b084478796b58
parent23ba172e228444ab82838fa9402b58676ceb9235 (diff)
changed: By default enable filecache for all remote filesystems (CACHE_BUFFER_MODE_REMOTE)
-rw-r--r--xbmc/settings/AdvancedSettings.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/xbmc/settings/AdvancedSettings.cpp b/xbmc/settings/AdvancedSettings.cpp
index c03f0f5268..a7b4fdd4d3 100644
--- a/xbmc/settings/AdvancedSettings.cpp
+++ b/xbmc/settings/AdvancedSettings.cpp
@@ -379,8 +379,9 @@ void CAdvancedSettings::Initialize()
m_PVRDefaultSortOrder.sortOrder = SortOrderDescending;
m_cacheMemSize = 1024 * 1024 * 20; // 20 MiB
- m_cacheBufferMode = CACHE_BUFFER_MODE_INTERNET; // Default (buffer all internet streams/filesystems)
+ m_cacheBufferMode = CACHE_BUFFER_MODE_REMOTE; // Default (buffer all remote filesystems)
m_cacheChunkSize = 128 * 1024; // 128 KiB
+
// the following setting determines the readRate of a player data
// as multiply of the default data read rate
m_cacheReadFactor = 4.0f;