From 9d62482cdc0664d433ddd632b03c3651f17562e8 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Tue, 3 Feb 2015 12:29:19 +0100 Subject: 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. --- video/out/gl_video.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out') 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), -- cgit v1.2.3