From 8a51a6b79c2790d97aed2dd107ed1f3a70f95236 Mon Sep 17 00:00:00 2001 From: wm4 Date: Thu, 27 Feb 2014 00:53:41 +0100 Subject: vo_opengl: change gamma suboption to take a value The previous version of the gamma suboption was pretty useless. It could be used to disable delayed gamma enabling, which is a mechanism to avoid having to adjust gamma in the shader by default. Repurpose the suboption and allow setting an exact gamma value with it. You can already override gamma with the --gamma option as well as the gamma input property, but these use a weird curve to create the impression of a linear perceived brightness change when changing the value. This suboption now allows setting an exact gamma value. --- video/out/gl_video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/gl_video.h') diff --git a/video/out/gl_video.h b/video/out/gl_video.h index a4f864a9dd..e997e88fb6 100644 --- a/video/out/gl_video.h +++ b/video/out/gl_video.h @@ -31,7 +31,7 @@ struct gl_video_opts { char *scalers[2]; float scaler_params[2]; int indirect; - int gamma; + float gamma; int srgb; int scale_sep; int fancy_downscaling; -- cgit v1.2.3