Skip to content
This repository has been archived by the owner on Sep 13, 2019. It is now read-only.

Commit

Permalink
Buffering of video from FTP source.
Browse files Browse the repository at this point in the history
  • Loading branch information
dez-dk authored and dez-dk committed Feb 9, 2012
1 parent bb1f71f commit de15c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xbmc/filesystem/File.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ bool CFile::Open(const CStdString& strFileName, unsigned int flags)
}

CURL url(URIUtils::SubstitutePath(strFileName));
if ( (flags & READ_NO_CACHE) == 0 && URIUtils::IsInternetStream(url) && !CUtil::IsPicture(strFileName) )
if ( (flags & READ_NO_CACHE) == 0 && URIUtils::IsInternetStream(url, true) && !CUtil::IsPicture(strFileName) )
m_flags |= READ_CACHED;

if (m_flags & READ_CACHED)
Expand Down

0 comments on commit de15c9c

Please sign in to comment.