[XBOX] fixed: FileCurl shouldn't assume a file is non-seekable when Connect() returns...
authorarnova <arnova@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Sat, 21 Feb 2009 21:33:40 +0000 (21:33 +0000)
committerarnova <arnova@568bbfeb-2a22-0410-94d2-cc84cf5bfa90>
Sat, 21 Feb 2009 21:33:40 +0000 (21:33 +0000)
commitbf897700ce50c5032dcc883288fc1d2380191bd6
treea16efce47b3b1440d453a8308ce8e782b695bfbf
parent7b159db01c94a8f7f097a12f6881c39b3ee2b21b
[XBOX] fixed: FileCurl shouldn't assume a file is non-seekable when Connect() returns <0. We should also return the proper file position in that case. This should fix problems with MPlayer + certain files which make MPlayer seek beyond EOF. Also tweaked the retry-code somewhat. It should now only retry on TIMEDOUT-errors. Thanks for the pointers, Elupus :)

git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/XBMC@17928 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
xbmc/FileSystem/FileCurl.cpp