diff options
author | Niklas Haas <git@haasn.dev> | 2023-11-19 14:37:41 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-11-20 17:32:40 +0100 |
commit | d40e623fd5c27544bd9af7b749b44cfa41f0f2fa (patch) | |
tree | 01eee47f442cbd21e4f57879f518786cb6e5a257 /video | |
parent | 47eae92c46a41b55592e4b44b78613453124663a (diff) | |
download | mpv-d40e623fd5c27544bd9af7b749b44cfa41f0f2fa.tar.bz2 mpv-d40e623fd5c27544bd9af7b749b44cfa41f0f2fa.tar.xz |
vo_gpu_next: bump ICC cache size limit to 20 MB
These are less likely to be modified from run to run, and with the
avoidance of redundant re-saving we can get away with a larger size.
This is enough to save 10 3DLUTs at typical sizes.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/vo_gpu_next.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 5a09f2ac7f..0e2e3e0fc4 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -1671,7 +1671,7 @@ static int preinit(struct vo *vo) if (gl_opts->shader_cache) cache_init(vo, &p->shader_cache, 10 << 20, gl_opts->shader_cache_dir); if (gl_opts->icc_opts->cache) - cache_init(vo, &p->icc_cache, 10 << 20, gl_opts->icc_opts->cache_dir); + cache_init(vo, &p->icc_cache, 20 << 20, gl_opts->icc_opts->cache_dir); pl_gpu_set_cache(p->gpu, p->shader_cache.cache); p->rr = pl_renderer_create(p->pllog, p->gpu); |