[vlc-devel] [PATCH 6/6] vlc_tick: add VLC_TICK_EPSILON to express the tiniest vlc_tick_t that can be used

Steve Lhomme robux4 at ycbcr.xyz
Fri Jun 22 18:17:44 CEST 2018


Using this value usually means something is hackish.
---
 include/vlc_tick.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/vlc_tick.h b/include/vlc_tick.h
index 4e2ca3d4eb4..4a7876a782c 100644
--- a/include/vlc_tick.h
+++ b/include/vlc_tick.h
@@ -45,6 +45,8 @@
 typedef int64_t vlc_tick_t;
 typedef vlc_tick_t mtime_t; /* deprecated, use vlc_tick_t */
 
+#define VLC_TICK_EPSILON          (1)
+
 
 /*
  * vlc_tick_t <> seconds (sec) conversions
-- 
2.17.0



More information about the vlc-devel mailing list