[vlc-devel] [PATCH 09/15] vlc_common: add VLC_TICK_EPSILON to express the tiniest mtime_t tick that can be used
Steve Lhomme
robux4 at ycbcr.xyz
Fri Jun 15 17:09:20 CEST 2018
Using this value usually means something is hackish.
---
include/vlc_common.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/vlc_common.h b/include/vlc_common.h
index bdbc942756d..b9435b29ba4 100644
--- a/include/vlc_common.h
+++ b/include/vlc_common.h
@@ -288,6 +288,8 @@
*/
typedef int64_t mtime_t;
+#define VLC_TICK_EPSILON (1)
+
#define VTICK_FROM_MILLI(ms) ((ms) * (CLOCK_FREQ / 1000))
#define MILLI_FROM_VTICK(ms) ((ms) / (CLOCK_FREQ / 1000))
--
2.17.0
More information about the vlc-devel
mailing list