Maarten Lankhorst : quartz: Always set current position again.

Alexandre Julliard julliard at winehq.org
Thu Jul 10 08:58:22 CDT 2008


Module: wine
Branch: master
Commit: 6748f073ed13eec690524391ff2cd1634764a0b0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6748f073ed13eec690524391ff2cd1634764a0b0

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Wed Jul  9 10:18:38 2008 -0700

quartz: Always set current position again.

---

 dlls/quartz/control.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/control.c b/dlls/quartz/control.c
index 477f632..e719831 100644
--- a/dlls/quartz/control.c
+++ b/dlls/quartz/control.c
@@ -581,7 +581,7 @@ HRESULT WINAPI MediaSeekingImpl_SetPositions(IMediaSeeking * iface, LONGLONG * p
     llNewCurrent = Adjust(This->llCurrent, pCurrent, dwCurrentFlags);
     llNewStop = Adjust(This->llStop, pStop, dwStopFlags);
 
-    if (llNewCurrent != This->llCurrent)
+    if (pCurrent)
         bChangeCurrent = TRUE;
     if (llNewStop != This->llStop)
         bChangeStop = TRUE;




More information about the wine-cvs mailing list