summaryrefslogtreecommitdiffstats
path: root/video/out/gl_lcms.h
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2014-02-24 13:39:39 +0100
committerNiklas Haas <git@nand.wakku.to>2014-02-24 14:34:12 +0100
commit701c8c8254c22b2def38515a1d09dcdd94fea3d3 (patch)
tree469e007601bf208297cce966db3b4a57dbb24aae /video/out/gl_lcms.h
parente3f7d4f5ea67a74b2f47103974f11c35ad58d972 (diff)
downloadmpv-701c8c8254c22b2def38515a1d09dcdd94fea3d3.tar.bz2
mpv-701c8c8254c22b2def38515a1d09dcdd94fea3d3.tar.xz
vo_opengl: Add :icc-approx-gamma suboption to approximate BT.709 gamma
This uses the value of 1.95 as an approximation for the exact gamma curve, which replicates the behavior of popular video software including anything in the Apple ecosystem, as per issue #534.
Diffstat (limited to 'video/out/gl_lcms.h')
-rw-r--r--video/out/gl_lcms.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_lcms.h b/video/out/gl_lcms.h
index a579b78f43..4a8e0cfb6a 100644
--- a/video/out/gl_lcms.h
+++ b/video/out/gl_lcms.h
@@ -8,6 +8,7 @@ struct mp_icc_opts {
char *cache;
char *size_str;
int intent;
+ int approx;
};
struct lut3d;