vlc | branch: master | Steve Lhomme <[email protected]> | Thu Jul 5 15:13:10 2018 +0200| [6f0f31bf2925e7e058562a9f6e2dd9d3ef314c32] | committer: Steve Lhomme
os2: convert timer ticks to milliseconds using MS_FROM_VLC_TICK() > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6f0f31bf2925e7e058562a9f6e2dd9d3ef314c32 --- src/os2/thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/os2/thread.c b/src/os2/thread.c index f599a06f9e..b963b8893f 100644 --- a/src/os2/thread.c +++ b/src/os2/thread.c @@ -1018,8 +1018,8 @@ void vlc_timer_schedule (vlc_timer_t timer, bool absolute, value = (value + 999) / 1000; interval = (interval + 999) / 1000; - timer->interval = interval; - if (DosAsyncTimer (value, (HSEM)timer->hev, &timer->htimer)) + timer->interval = MS_FROM_VLC_TICK(interval); + if (DosAsyncTimer (MS_FROM_VLC_TICK(value), (HSEM)timer->hev, &timer->htimer)) abort (); } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
