mirror of
https://github.com/reactos/wine.git
synced 2024-11-24 04:10:04 +00:00
quartz: Fix race condition on EndOfStream between csRenderLock and filter.csFilter.
This commit is contained in:
parent
a9325037b5
commit
126a420c56
@ -254,8 +254,8 @@ static HRESULT DSoundRender_HandleEndOfStream(DSoundRenderImpl *This)
|
||||
LeaveCriticalSection(&This->renderer.filter.csFilter);
|
||||
LeaveCriticalSection(&This->renderer.csRenderLock);
|
||||
WaitForSingleObject(This->blocked, 10);
|
||||
EnterCriticalSection(&This->renderer.filter.csFilter);
|
||||
EnterCriticalSection(&This->renderer.csRenderLock);
|
||||
EnterCriticalSection(&This->renderer.filter.csFilter);
|
||||
This->in_loop = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user