# HG changeset patch # User atmos4 # Date 1017370365 0 # Node ID 44661cb881d0f917529501b14e71a6c1f4c6ab3f # Parent e93fc4a8851ad3f89707f794acbcb7ef2e1ee9d5 Allow cache to be disabled at commandline. diff -r e93fc4a8851a -r 44661cb881d0 cfg-common.h --- 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