[vlc-devel] [PATCH 13/15] include: replace hardcoded CLOCK_FREQ	fractions by VTICK_FROM_MILLI()
    Steve Lhomme 
    robux4 at ycbcr.xyz
       
    Fri Jun 15 17:09:24 CEST 2018
    
    
  
---
 include/vlc_config.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/vlc_config.h b/include/vlc_config.h
index 25cef2198fb..65c41c3d123 100644
--- a/include/vlc_config.h
+++ b/include/vlc_config.h
@@ -50,14 +50,14 @@
  *****************************************************************************/
 
 /* Base delay in micro second for interface sleeps */
-#define INTF_IDLE_SLEEP                 (CLOCK_FREQ/20)
+#define INTF_IDLE_SLEEP                 VTICK_FROM_MILLI(50)
 
 /*****************************************************************************
  * Input thread configuration
  *****************************************************************************/
 
 /* Used in ErrorThread */
-#define INPUT_IDLE_SLEEP                (CLOCK_FREQ/10)
+#define INPUT_IDLE_SLEEP                VTICK_FROM_MILLI(100)
 
 /*
  * General limitations
-- 
2.17.0
    
    
More information about the vlc-devel
mailing list