aboutsummaryrefslogtreecommitdiffhomepage
path: root/input
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2017-09-21 13:50:18 +0200
committerGravatar wm4 <wm4@nowhere>2017-09-21 13:56:27 +0200
commitbfa9b628589068acdbb04d97f86051063e82fd94 (patch)
tree03e9ffbf6a245d8a3f85b37ef80d74ad0df254ff /input
parentfdb300b983744c522f335ccf64e9788b78f86701 (diff)
build: add preliminary LGPL mode
See "Copyright" file for caveats. This changes the remaining "almost LGPL" files to LGPL, because we think that the conditions the author set for these was finally fulfilled.
Diffstat (limited to 'input')
-rw-r--r--input/cmd_list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index 6199e7c65f..c8dd77cf7a 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -225,10 +225,12 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_KEYDOWN, "keydown", { ARG_STRING } },
{ MP_CMD_KEYUP, "keyup", { OARG_STRING("") } },
+#if HAVE_GPL
{ MP_CMD_AUDIO_ADD, "audio-add", { ARG_STRING,
OARG_CHOICE(0, ({"select", 0}, {"auto", 1}, {"cached", 2})),
OARG_STRING(""), OARG_STRING("") } },
{ MP_CMD_AUDIO_REMOVE, "audio-remove", { OARG_INT(-1) } },
+#endif
{ MP_CMD_AUDIO_RELOAD, "audio-reload", { OARG_INT(-1) } },
{ MP_CMD_RESCAN_EXTERNAL_FILES, "rescan-external-files", {