diff options
author | ulion <ulion2002@gmail.com> | 2013-04-22 06:22:24 -0700 |
---|---|---|
committer | ulion <ulion2002@gmail.com> | 2013-04-22 06:22:24 -0700 |
commit | bb79b32b87c4324208b8d5e4953cbe7522fb6554 (patch) | |
tree | 288d38dea5e0683e9f82b4cd53de1d89fca8b818 | |
parent | 217532dfa495abd883d98b068394fe2452362274 (diff) | |
parent | 2d3ba32223f68be30906e6ec2b4a11b693157d7a (diff) |
Merge pull request #2644 from ulion/fix_seekable_protocol_option
[Fix] http protocol options seekable=0 now finally works.
-rw-r--r-- | xbmc/filesystem/CurlFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xbmc/filesystem/CurlFile.cpp b/xbmc/filesystem/CurlFile.cpp index 123d610e78..59da88a75f 100644 --- a/xbmc/filesystem/CurlFile.cpp +++ b/xbmc/filesystem/CurlFile.cpp @@ -884,6 +884,7 @@ void CCurlFile::Reset() bool CCurlFile::Open(const CURL& url) { m_opened = true; + m_seekable = true; CURL url2(url); ParseAndCorrectUrl(url2); @@ -894,7 +895,6 @@ bool CCurlFile::Open(const CURL& url) if( m_state->m_easyHandle == NULL ) g_curlInterface.easy_aquire(url2.GetProtocol(), url2.GetHostName(), &m_state->m_easyHandle, &m_state->m_multiHandle ); - m_seekable = true; // setup common curl options SetCommonOptions(m_state); SetRequestHeaders(m_state); |