changeset 5387:44661cb881d0

Allow cache to be disabled at commandline.
author atmos4
date Fri, 29 Mar 2002 02:52:45 +0000
parents e93fc4a8851a
children 3af2729c5c87
files cfg-common.h
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/cfg-common.h	Fri Mar 29 01:01:35 2002 +0000
+++ b/cfg-common.h	Fri Mar 29 02:52:45 2002 +0000
@@ -3,6 +3,7 @@
 
 #ifdef USE_STREAM_CACHE
 	{"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 4, 65536, NULL},
+	{"nocache", &stream_cache_size, CONF_TYPE_FLAG, 0, 1, 0, NULL},
 #else
 	{"cache", "MPlayer was compiled WITHOUT cache2 support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
 #endif