mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
xbmc: fix caching patch
Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
parent
0e1324c258
commit
744f7ec2de
@ -6,7 +6,7 @@ diff -Naur xbmc-10.1-Dharma/xbmc/FileSystem/File.cpp xbmc-10.1-Dharma.patch/xbmc
|
|||||||
}
|
}
|
||||||
|
|
||||||
- if ( (flags & READ_NO_CACHE) == 0 && CUtil::IsInternetStream(strFileName) && !CUtil::IsPicture(strFileName) )
|
- 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) )
|
+ if ( (flags & READ_NO_CACHE) == 0 && ( CUtil::IsInternetStream(strFileName) || CUtil::IsOnLAN(strFileName) ) && !CUtil::IsPicture(strFileName) )
|
||||||
m_flags |= READ_CACHED;
|
m_flags |= READ_CACHED;
|
||||||
|
|
||||||
CURL url(strFileName);
|
CURL url(strFileName);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user