Commit dd327857 authored by Erich E. Hoover's avatar Erich E. Hoover Committed by Alexandre Julliard

quartz: Fix race condition between EndOfStream and Pause.

parent ee94725c
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment