From d5b5ed0b4667ac3a0fa563c6f99639ca20b2c17f Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 1 Mar 2014 02:27:00 +0100 Subject: vo_opengl: Include :icc-approx-gamma option in the 3DLUT cache header This makes sure the ICC cache is recomputed when the :icc-approx-gamma option is changed, since it affects the output quite a lot. --- video/out/gl_lcms.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/video/out/gl_lcms.c b/video/out/gl_lcms.c index 3d568ea280..8c30ce3719 100644 --- a/video/out/gl_lcms.c +++ b/video/out/gl_lcms.c @@ -129,8 +129,9 @@ struct lut3d *mp_load_icc(struct mp_icc_opts *opts, struct mp_log *log, if (!iccdata.len) goto error_exit; - char *cache_info = talloc_asprintf(tmp, "intent=%d, size=%dx%dx%d\n", - opts->intent, s_r, s_g, s_b); + char *cache_info = + talloc_asprintf(tmp, "intent=%d, size=%dx%dx%d, approx=%d\n", + opts->intent, s_r, s_g, s_b, opts->approx); // check cache if (opts->cache) { -- cgit v1.2.3