summaryrefslogtreecommitdiffstats
path: root/input/cmd_list.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-11-29 18:28:27 +0100
committerwm4 <wm4@nowhere>2017-11-29 18:28:27 +0100
commit9d6bc77a599626246e44834a1eb69db81637c6fa (patch)
treee00b025c91a218dc07062fcf57da179efc83f3d6 /input/cmd_list.c
parentf082db8f67664b9712f73a7dca9d490741bfd4d5 (diff)
downloadmpv-9d6bc77a599626246e44834a1eb69db81637c6fa.tar.bz2
mpv-9d6bc77a599626246e44834a1eb69db81637c6fa.tar.xz
input: remove a stray HAVE_GPL
This was marked GPL, because the implementation in command.c (which is shared with the subtitle code) was marked as GPL. This has been changed, so this is unnecessary. The original commands for external audio tracks have been added to mpv by someone who agreed with the relicensing.
Diffstat (limited to 'input/cmd_list.c')
-rw-r--r--input/cmd_list.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index 0bc12441fe..333f2cb223 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -219,12 +219,10 @@ 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", {