summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--DOCS/man/input.rst2
-rw-r--r--input/cmd_list.c1
-rw-r--r--input/cmd_list.h1
-rw-r--r--player/command.c7
4 files changed, 1 insertions, 10 deletions
diff --git a/DOCS/man/input.rst b/DOCS/man/input.rst
index 0ae4a0c0c8..ad1d63ad4a 100644
--- a/DOCS/man/input.rst
+++ b/DOCS/man/input.rst
@@ -732,7 +732,7 @@ Input Commands that are Possibly Subject to Change
Load a script, similar to the ``--script`` option.
Undocumented commands: ``tv-last-channel`` (TV/DVB only),
-``ao-reload``, ``vo-resize`` (experimental/internal).
+``ao-reload`` (experimental/internal).
Hooks
~~~~~
diff --git a/input/cmd_list.c b/input/cmd_list.c
index 44cd65fbce..333f2cb223 100644
--- a/input/cmd_list.c
+++ b/input/cmd_list.c
@@ -191,7 +191,6 @@ const struct mp_cmd_def mp_cmds[] = {
{ MP_CMD_VF, "vf", { ARG_STRING, ARG_STRING } },
{ MP_CMD_VF_COMMAND, "vf-command", { ARG_STRING, ARG_STRING, ARG_STRING } },
- { MP_CMD_VO_RESIZE, "vo-resize", },
{ MP_CMD_SCRIPT_BINDING, "script-binding", { ARG_STRING },
.allow_auto_repeat = true, .on_updown = true},
diff --git a/input/cmd_list.h b/input/cmd_list.h
index 6b1b19795c..6590158c31 100644
--- a/input/cmd_list.h
+++ b/input/cmd_list.h
@@ -99,7 +99,6 @@ enum mp_command_type {
/// Video filter commands
MP_CMD_VF,
MP_CMD_VF_COMMAND,
- MP_CMD_VO_RESIZE,
/// Internal for Lua scripts
MP_CMD_SCRIPT_BINDING,
diff --git a/player/command.c b/player/command.c
index 541e2d1987..b159f91708 100644
--- a/player/command.c
+++ b/player/command.c
@@ -5434,13 +5434,6 @@ int run_command(struct MPContext *mpctx, struct mp_cmd *cmd, struct mpv_node *re
reload_audio_output(mpctx);
break;
- case MP_CMD_VO_RESIZE: {
- if (!mpctx->video_out)
- return -1;
- vo_control(mpctx->video_out, VOCTRL_EXTERNAL_RESIZE, NULL);
- break;
- }
-
case MP_CMD_AF:
return edit_filters_osd(mpctx, STREAM_AUDIO, cmd->args[0].v.s,
cmd->args[1].v.s, msg_osd);