summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-29 02:52:45 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-03-29 02:52:45 +0000
commit7498cf71456f9b64005250c9c780797d169ba23d (patch)
tree0c8a38c072cb5384143e17cd32c5d15b05735c3f /cfg-common.h
parentdee3c8d0f0ff6897a3d604e46bb7b22ae3ea2ae3 (diff)
downloadmpv-7498cf71456f9b64005250c9c780797d169ba23d.tar.bz2
mpv-7498cf71456f9b64005250c9c780797d169ba23d.tar.xz
Allow cache to be disabled at commandline.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5388 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 632dde9486..f0d6335ad7 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -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