Mercurial > mplayer.hg
diff cfg-common.h @ 34704:cc658103f214
Allow using a cache size of up to 4 TB.
Obviously anything close to 4 GB will always fail
on 32 bit systems.
author | reimar |
---|---|
date | Sun, 04 Mar 2012 14:47:37 +0000 |
parents | 77e737045fbf |
children | 6d9ca3bfd020 |
line wrap: on
line diff
--- a/cfg-common.h Sun Mar 04 14:37:31 2012 +0000 +++ b/cfg-common.h Sun Mar 04 14:47:37 2012 +0000 @@ -315,7 +315,7 @@ // ------------------------- stream options -------------------- #ifdef CONFIG_STREAM_CACHE - {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 32, 1048576, NULL}, + {"cache", &stream_cache_size, CONF_TYPE_INT, CONF_RANGE, 32, 0x7fffffff, NULL}, {"nocache", &stream_cache_size, CONF_TYPE_FLAG, 0, 1, 0, NULL}, {"cache-min", &stream_cache_min_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL}, {"cache-seek-min", &stream_cache_seek_min_percent, CONF_TYPE_FLOAT, CONF_RANGE, 0, 99, NULL},