]> git.sesse.net Git - vlc/blobdiff - include/vlc_config.h
* modules/access/file.c: we now regularly check the size of the file, in
[vlc] / include / vlc_config.h
index 18c22e1f30a3fec02e5236e608faa60d22d552cb..80fdd361e28e5a82eeed1e4697f7b0345b9aee8c 100644 (file)
@@ -51,7 +51,7 @@
 #ifdef SYS_BEOS
 #  define CONFIG_DIR                    "config/settings"
 #elif defined( WIN32 ) || defined( UNDER_CE )
-#  define CONFIG_DIR                   "vlc"
+#  define CONFIG_DIR                    "vlc"
 #else
 #  define CONFIG_DIR                    ".vlc"
 #endif
 /* Time to wait in case of read error */
 #define INPUT_ERROR_SLEEP               ((mtime_t)(0.10*CLOCK_FREQ))
 
+/* Number of read() calls needed until we check the file size through
+ * fstat() */
+#define INPUT_FSTAT_NB_READS            10
+
 /*
  * General limitations
  */
 
 /* Delay between channel changes - this is required to avoid flooding the 
  * channel server */
-#define INPUT_CHANNEL_CHANGE_DELAY         (mtime_t)(5*CLOCK_FREQ)
+#define INPUT_CHANNEL_CHANGE_DELAY      (mtime_t)(5*CLOCK_FREQ)
 
 /* Duration between the time we receive the data packet, and the time we will
  * mark it to be presented */