[vlc-commits] win32: wait for timer completion when rescheduling

Rémi Denis-Courmont git at videolan.org
Sat May 28 15:43:31 CEST 2016


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat May 28 16:39:12 2016 +0300| [a688c408a2a27badca509d938df7115d3a6c54c3] | committer: Rémi Denis-Courmont

win32: wait for timer completion when rescheduling

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a688c408a2a27badca509d938df7115d3a6c54c3
---

 src/win32/thread.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/win32/thread.c b/src/win32/thread.c
index d92df84..2480f9e 100644
--- a/src/win32/thread.c
+++ b/src/win32/thread.c
@@ -1067,7 +1067,7 @@ void vlc_timer_schedule (vlc_timer_t timer, bool absolute,
     if (timer->handle != INVALID_HANDLE_VALUE)
     {
 #if !VLC_WINSTORE_APP
-        DeleteTimerQueueTimer (NULL, timer->handle, NULL);
+        DeleteTimerQueueTimer (NULL, timer->handle, INVALID_HANDLE_VALUE);
 #endif
         timer->handle = INVALID_HANDLE_VALUE;
     }



More information about the vlc-commits mailing list