[vlc-commits] win32: convert timer ticks to milliseconds using MS_FROM_VLC_TICK()
Steve Lhomme
git at videolan.org
Thu Jul 5 15:15:24 CEST 2018
vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jul 5 15:10:26 2018 +0200| [ec474d508320acbb0e765fc5822b953524531ffc] | committer: Steve Lhomme
win32: convert timer ticks to milliseconds using MS_FROM_VLC_TICK()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ec474d508320acbb0e765fc5822b953524531ffc
---
src/win32/timer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/win32/timer.c b/src/win32/timer.c
index 767430a515..8a8d106183 100644
--- a/src/win32/timer.c
+++ b/src/win32/timer.c
@@ -83,7 +83,8 @@ void vlc_timer_schedule (vlc_timer_t timer, bool absolute,
interval = (interval + 999) / 1000;
if (!CreateTimerQueueTimer (&timer->handle, NULL, vlc_timer_do, timer,
- value, interval, WT_EXECUTEDEFAULT))
+ MS_FROM_VLC_TICK(value), MS_FROM_VLC_TICK(interval),
+ WT_EXECUTEDEFAULT))
abort ();
}
More information about the vlc-commits
mailing list