quartz: Fix race condition between EndOfStream and Pause.

This commit is contained in:
Erich E. Hoover 2014-07-18 10:57:13 -06:00 committed by Alexandre Julliard
parent ee94725c8e
commit dd32785772
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ end:
static HRESULT DSoundRender_HandleEndOfStream(DSoundRenderImpl *This)
{
while (1)
while (This->renderer.filter.state == State_Running)
{
DWORD pos1, pos2;
DSoundRender_UpdatePositions(This, &pos1, &pos2);