comparison cfg-common.h @ 5387:44661cb881d0

Allow cache to be disabled at commandline.
author atmos4
date Fri, 29 Mar 2002 02:52:45 +0000
parents 8a01cde9cf39
children 3af2729c5c87
comparison
equal deleted inserted replaced
5386:e93fc4a8851a 5387:44661cb881d0
1 #ifdef MAIN_CONF /* this will be included in conf[] */ 1 #ifdef MAIN_CONF /* this will be included in conf[] */
2 // ------------------------- stream options -------------------- 2 // ------------------------- stream options --------------------
3 3
4 #ifdef USE_STREAM_CACHE 4 #ifdef USE_STREAM_CACHE
5 {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 4, 65536, NULL}, 5 {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 4, 65536, NULL},
6 {"nocache", &stream_cache_size, CONF_TYPE_FLAG, 0, 1, 0, NULL},
6 #else 7 #else
7 {"cache", "MPlayer was compiled WITHOUT cache2 support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, 8 {"cache", "MPlayer was compiled WITHOUT cache2 support\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
8 #endif 9 #endif
9 #ifdef HAVE_VCD 10 #ifdef HAVE_VCD
10 {"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99, NULL}, 11 {"vcd", &vcd_track, CONF_TYPE_INT, CONF_RANGE, 1, 99, NULL},