summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-02-03 12:29:19 +0100
committerNiklas Haas <git@nand.wakku.to>2015-02-03 12:29:19 +0100
commit9d62482cdc0664d433ddd632b03c3651f17562e8 (patch)
tree9ab42915eb4838d0e2229eaa3701dd53e26ab56a /video
parenta51045bddd21a13c30db5d29cdc1d37243beccc8 (diff)
downloadmpv-9d62482cdc0664d433ddd632b03c3651f17562e8.tar.bz2
mpv-9d62482cdc0664d433ddd632b03c3651f17562e8.tar.xz
vo_opengl: change upper bound of :gamma to 2.0
This allows a spread of 1.0 in either direction, which is already close to absurd. Anything higher than that is pretty pointless.
Diffstat (limited to 'video')
-rw-r--r--video/out/gl_video.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index cef901d1b6..5ad935bd70 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -344,7 +344,7 @@ static int validate_scaler_opt(struct mp_log *log, const m_option_t *opt,
#define OPT_BASE_STRUCT struct gl_video_opts
const struct m_sub_options gl_video_conf = {
.opts = (const m_option_t[]) {
- OPT_FLOATRANGE("gamma", gamma, 0, 0.0, 10.0),
+ OPT_FLOATRANGE("gamma", gamma, 0, 0.0, 2.0),
OPT_FLAG("srgb", srgb, 0),
OPT_FLAG("npot", npot, 0),
OPT_FLAG("pbo", pbo, 0),