Commit 9d6239bd authored by Maarten Lankhorst's avatar Maarten Lankhorst Committed by Alexandre Julliard

quartz: Fix stop_playback used in pullpin.

parent 46ab1b2b
......@@ -1517,7 +1517,7 @@ HRESULT PullPin_PauseProcessing(PullPin * This)
PullPin_WaitForStateChange(This, INFINITE);
EnterCriticalSection(This->pin.pCritSec);
This->stop_playback = 0;
This->stop_playback = 1;
LeaveCriticalSection(This->pin.pCritSec);
ResetEvent(This->hEventStateChanged);
......@@ -1535,7 +1535,7 @@ HRESULT PullPin_StopProcessing(PullPin * This)
{
PullPin_WaitForStateChange(This, INFINITE);
This->stop_playback = 0;
This->stop_playback = 1;
ResetEvent(This->hEventStateChanged);
if (!QueueUserAPC(PullPin_Thread_Stop, This->hThread, (ULONG_PTR)This))
......
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