[vlc-commits] timer: add a define to fire a timer only once

Steve Lhomme git at videolan.org
Fri Jul 6 08:07:04 CEST 2018


vlc | branch: master | Steve Lhomme <robux4 at ycbcr.xyz> | Thu Jul  5 14:41:59 2018 +0200| [f882129d4c2e9eb20d9c8732a72c3a66674257ba] | committer: Steve Lhomme

timer: add a define to fire a timer only once

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

 include/vlc_threads.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/vlc_threads.h b/include/vlc_threads.h
index d1a4674335..ae6b57e68c 100644
--- a/include/vlc_threads.h
+++ b/include/vlc_threads.h
@@ -949,6 +949,7 @@ VLC_USED;
 VLC_API void vlc_timer_destroy(vlc_timer_t timer);
 
 #define VLC_TIMER_DISARM    (0)
+#define VLC_TIMER_FIRE_ONCE (0)
 
 /**
  * Arms or disarms an initialized timer.



More information about the vlc-commits mailing list