]> git.sesse.net Git - vlc/blobdiff - include/vlc_config.h
Do not decode subtitles too much in advanced.
[vlc] / include / vlc_config.h
index 3998482c4eba3761f5a76786b69af18317b6f32e..ae6e7a19aa1b5d24b1097dd1f5e3a3031146ba76 100644 (file)
 /* Max acceptable resampling (in %) */
 #define AOUT_MAX_RESAMPLING             10
 
+/*****************************************************************************
+ * SPU configuration
+ *****************************************************************************/
+
+/* Buffer must avoid arriving more than SPU_MAX_PREPARE_TIME in advanced to
+ * the SPU */
+#define SPU_MAX_PREPARE_TIME ((mtime_t)(0.5*CLOCK_FREQ))
+
 /*****************************************************************************
  * Video configuration
  *****************************************************************************/