Permalink
Browse files

[osx/ios] - fix slow seeks with cfilecache on osx/ios - closes #11999

  • Loading branch information...
1 parent 01a556e commit 5b3b0b3fb481e4a4443c905a303f56af7bcfb304 @Memphiz Memphiz committed Nov 16, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/filesystem/FileCache.cpp
@@ -395,7 +395,7 @@ int64_t CFileCache::Seek(int64_t iFilePosition, int iWhence)
m_seekPos = iTarget;
m_seekEvent.Set();
- if (!m_seekEnded.WaitMSec(INFINITE))
+ if (!m_seekEnded.Wait())
{
CLog::Log(LOGWARNING,"%s - seek to %"PRId64" failed.", __FUNCTION__, m_seekPos);
return -1;

0 comments on commit 5b3b0b3

Please sign in to comment.