]> git.sesse.net Git - vlc/commit
too long timeouts in win32 vlc_poll
authorMario Speiß <1034-135@online.de>
Sun, 3 Feb 2013 17:25:35 +0000 (19:25 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Sun, 3 Feb 2013 17:26:07 +0000 (19:26 +0200)
commite4dc6784ed497fef0fbbad4d1c3fa4a5254ffdf0
tree263dd5f296aa83ec37b3e2b3bd30dce36cdc0b59
parente1aa97a9e8bdd3787fb3543b13cf6a6f624fd350
too long timeouts in win32 vlc_poll

When vlc_poll is called with timeout of i.e. 5000ms it may happen that the
waiting time might be as long as 2500s ! Probably poll should be called with
the 50ms timeout as many times until the original provided timeout has been
reached.

Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
include/vlc_threads.h