From a22ff44f7bfe7737929a5d2ebccd38a198289c1a Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 21 Jul 2017 20:02:58 +0200 Subject: input: drop deprecated "osd" command Complicated situation due to changes by GPL-only author, but also unnecessary due to newer mechanisms. --- input/cmd_list.c | 3 --- input/cmd_list.h | 1 - 2 files changed, 4 deletions(-) (limited to 'input') 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, -- cgit v1.2.3