Erich E. Hoover : quartz: Fix race condition between EndOfStream and Pause.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Aug 5 18:03:07 CDT 2014
Module: wine
Branch: master
Commit: dd3278577260788b5e5349be17b5c90ba3657175
URL: http://source.winehq.org/git/wine.git/?a=commit;h=dd3278577260788b5e5349be17b5c90ba3657175
Author: Erich E. Hoover <erich.e.hoover at gmail.com>
Date: Fri Jul 18 10:57:13 2014 -0600
quartz: Fix race condition between EndOfStream and Pause.
---
dlls/quartz/dsoundrender.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/quartz/dsoundrender.c b/dlls/quartz/dsoundrender.c
index 8c67374..2914b15 100644
--- a/dlls/quartz/dsoundrender.c
+++ b/dlls/quartz/dsoundrender.c
@@ -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);
More information about the wine-cvs
mailing list