summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-07-21 20:02:58 +0200
committerwm4 <wm4@nowhere>2017-07-21 20:02:58 +0200
commita22ff44f7bfe7737929a5d2ebccd38a198289c1a (patch)
treec4e43028f1c8173b3014eb4c5ee8487be2acc2cf /input
parent4bc29c173090de173300b6e36da2bec1cae8c6f6 (diff)
downloadmpv-a22ff44f7bfe7737929a5d2ebccd38a198289c1a.tar.bz2
mpv-a22ff44f7bfe7737929a5d2ebccd38a198289c1a.tar.xz
input: drop deprecated "osd" command
Complicated situation due to changes by GPL-only author, but also unnecessary due to newer mechanisms.
Diffstat (limited to 'input')
-rw-r--r--input/cmd_list.c3
-rw-r--r--input/cmd_list.h1
2 files changed, 0 insertions, 4 deletions
diff --git a/input/cmd_list.c b/input/cmd_list.c
index bc82e687fd..6199e7c65f 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -98,9 +98,6 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_PLAYLIST_SHUFFLE, "playlist-shuffle", },
{ MP_CMD_SUB_STEP, "sub-step", { ARG_INT }, .allow_auto_repeat = true },
{ MP_CMD_SUB_SEEK, "sub-seek", { ARG_INT }, .allow_auto_repeat = true },
-#if HAVE_GPL
- { MP_CMD_OSD, "osd", { OARG_INT(-1) } },
-#endif
{ MP_CMD_PRINT_TEXT, "print-text", { ARG_STRING }, .allow_auto_repeat = true },
{ MP_CMD_SHOW_TEXT, "show-text", { ARG_STRING, OARG_INT(-1), OARG_INT(0) },
.allow_auto_repeat = true},
diff --git a/input/cmd_list.h b/input/cmd_list.h
index 5d456c033e..6590158c31 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -46,7 +46,6 @@ enum mp_command_type {
MP_CMD_QUIT_WATCH_LATER,
MP_CMD_PLAYLIST_NEXT,
MP_CMD_PLAYLIST_PREV,
- MP_CMD_OSD,
MP_CMD_SCREENSHOT,
MP_CMD_SCREENSHOT_TO_FILE,
MP_CMD_SCREENSHOT_RAW,