[vlc-devel] [PATCH 10/10] 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 14:53:27 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 6953ba346d4..d29519be90f 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)
+
#define VLC_TICK_FROM_MS(ms) ((ms) * (CLOCK_FREQ / 1000))
#define MS_FROM_VLC_TICK(vtk) (((vtk) * 1000) / CLOCK_FREQ)
--
2.17.0
More information about the vlc-devel
mailing list