summaryrefslogtreecommitdiffstats
path: root/player/command.c
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 /player/command.c
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 'player/command.c')
-rw-r--r--player/command.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/player/command.c b/player/command.c
index 07631ffb08..0c22efea29 100644
--- a/player/command.c
+++ b/player/command.c
@@ -2618,6 +2618,7 @@ static int mp_property_frame_count(void *ctx, struct m_property *prop,
return m_property_int_ro(action, arg, frames);
}
+#if HAVE_GPL
static int mp_property_video_color(void *ctx, struct m_property *prop,
int action, void *arg)
{
@@ -2644,6 +2645,7 @@ static int mp_property_video_color(void *ctx, struct m_property *prop,
}
return mp_property_generic_option(mpctx, prop, action, arg);
}
+#endif
/// Video codec tag (RO)
static int mp_property_video_format(void *ctx, struct m_property *prop,
@@ -3969,6 +3971,7 @@ static const struct m_property mp_properties_base[] = {
{"ontop", mp_property_ontop},
{"border", mp_property_border},
{"on-all-workspaces", mp_property_all_workspaces},
+#if HAVE_GPL
{"gamma", mp_property_video_color},
{"brightness", mp_property_video_color},
{"contrast", mp_property_video_color},
@@ -3976,6 +3979,7 @@ static const struct m_property mp_properties_base[] = {
{"hue", mp_property_video_color},
{"video-output-levels", mp_property_video_color,
.priv = (void *)"output-levels"},
+#endif
{"video-out-params", mp_property_vo_imgparams},
{"video-dec-params", mp_property_dec_imgparams},
{"video-params", mp_property_vd_imgparams},