summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-06-23 15:13:47 +0200
committerwm4 <wm4@nowhere>2017-06-23 16:54:09 +0200
commit96b906a51d5cb42b5e8f90d83259ca0b3bfb2485 (patch)
treef1f5767f032235af91c7b669d7761c792d52aa51 /options
parent690a312f4241ba1730e5e36e039ea3bc9963bb03 (diff)
downloadmpv-96b906a51d5cb42b5e8f90d83259ca0b3bfb2485.tar.bz2
mpv-96b906a51d5cb42b5e8f90d83259ca0b3bfb2485.tar.xz
player: disable video equalizer frontend code for WIP LGPL mode
Nick and kiriuja could not be reached, and created/changed this in 92c5c274, 6441a5ad, bffd4007, 555c6766, c2c997fd. The video equalizer stuff was redone fully later, but there are still parts that look too similar and basically use the same approach. I'm more comfortable with declaring it GPL only for now. I plan to redo them later in a way that will remove copyright.
Diffstat (limited to 'options')
-rw-r--r--options/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index adbb24fc05..44d9652cc6 100644
--- a/options/options.c
+++ b/options/options.c
@@ -564,6 +564,7 @@ const m_option_t mp_opts[] = {
.deprecation_message = "use Lua scripting instead"),
OPT_FLOAT("heartbeat-interval", heartbeat_interval, CONF_MIN, 0),
+#if HAVE_GPL
OPT_INTRANGE("brightness", gamma_brightness, 0, -100, 100),
OPT_INTRANGE("saturation", gamma_saturation, 0, -100, 100),
OPT_INTRANGE("contrast", gamma_contrast, 0, -100, 100),
@@ -571,6 +572,7 @@ const m_option_t mp_opts[] = {
OPT_INTRANGE("gamma", gamma_gamma, 0, -100, 100),
OPT_CHOICE_C("video-output-levels", video_output_levels, 0,
mp_csp_levels_names),
+#endif
OPT_FLAG("use-filedir-conf", use_filedir_conf, 0),
OPT_CHOICE("osd-level", osd_level, 0,