mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
xbmc: add patch to enable caching on LAN for testing
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
a46a70a881
commit
0e1324c258
@ -0,0 +1,12 @@
|
||||
diff -Naur xbmc-10.1-Dharma/xbmc/FileSystem/File.cpp xbmc-10.1-Dharma.patch/xbmc/FileSystem/File.cpp
|
||||
--- xbmc-10.1-Dharma/xbmc/FileSystem/File.cpp 2011-03-08 02:49:14.000000000 +0100
|
||||
+++ xbmc-10.1-Dharma.patch/xbmc/FileSystem/File.cpp 2011-05-04 17:59:12.093724017 +0200
|
||||
@@ -217,7 +217,7 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
- if ( (flags & READ_NO_CACHE) == 0 && CUtil::IsInternetStream(strFileName) && !CUtil::IsPicture(strFileName) )
|
||||
+ if ( (flags & READ_NO_CACHE) == 0 && CUtil::IsInternetStream(strFileName) || CUtil::IsOnLAN(strFileName) && !CUtil::IsPicture(strFileName) )
|
||||
m_flags |= READ_CACHED;
|
||||
|
||||
CURL url(strFileName);
|
Loading…
x
Reference in New Issue
Block a user