We definitely don't want a global lock, even when not using the chunk cache.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35029 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -288,8 +288,6 @@ MediaExtractor::GetNextChunk(int32 stream, const void** _chunkBuffer,
|
|||||||
return info.status;
|
return info.status;
|
||||||
|
|
||||||
#if DISABLE_CHUNK_CACHE
|
#if DISABLE_CHUNK_CACHE
|
||||||
static BLocker locker("media extractor next chunk");
|
|
||||||
BAutolock lock(locker);
|
|
||||||
return fReader->GetNextChunk(fStreamInfo[stream].cookie, _chunkBuffer,
|
return fReader->GetNextChunk(fStreamInfo[stream].cookie, _chunkBuffer,
|
||||||
_chunkSize, mediaHeader);
|
_chunkSize, mediaHeader);
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user