summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-rw-r--r--video/out/gpu/lcms.c1
-rw-r--r--video/out/gpu/video.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/video/out/gpu/lcms.c b/video/out/gpu/lcms.c
index 0ff4de8344..7880f279e6 100644
--- a/video/out/gpu/lcms.c
+++ b/video/out/gpu/lcms.c
@@ -516,5 +516,6 @@ const struct m_sub_options mp_icc_conf = {
.size_str = "64x64x64",
.intent = MP_INTENT_RELATIVE_COLORIMETRIC,
.use_embedded = true,
+ .cache = true,
},
};
diff --git a/video/out/gpu/video.c b/video/out/gpu/video.c
index 4ca5428098..d961002e7b 100644
--- a/video/out/gpu/video.c
+++ b/video/out/gpu/video.c
@@ -327,6 +327,7 @@ static const struct gl_video_opts gl_video_opts_def = {
.scene_threshold_high = 10.0,
},
.early_flush = -1,
+ .shader_cache = true,
.hwdec_interop = "auto",
};