From 9b77666783d80fe0c3f6276e07ed97a6706f277f Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 12 Mar 2015 23:51:41 +0100 Subject: options: introduce --cache=yes choice I think this is what I alwass missed ever since I found the MPlayer cache options: a way to enable the cache on local files with the default settings, whatever they are. --- options/options.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'options') diff --git a/options/options.c b/options/options.c index 737d2e5814..cc3a211923 100644 --- a/options/options.c +++ b/options/options.c @@ -141,7 +141,8 @@ const m_option_t mp_opts[] = { OPT_CHOICE_OR_INT("cache", stream_cache.size, 0, 32, 0x7fffffff, ({"no", 0}, - {"auto", -1})), + {"auto", -1}, + {"yes", -2})), OPT_CHOICE_OR_INT("cache-default", stream_cache.def_size, 0, 32, 0x7fffffff, ({"no", 0})), OPT_INTRANGE("cache-initial", stream_cache.initial, 0, 0, 0x7fffffff), -- cgit v1.2.3