From 0030e049cd1707762f6f8cd76c7414b95baf928f Mon Sep 17 00:00:00 2001 From: sfan5 Date: Tue, 26 Dec 2017 01:38:32 +0100 Subject: player: add internal `vo-resize` command Intended to be used with the properties from previous commit. --- input/cmd_list.c | 1 + input/cmd_list.h | 1 + 2 files changed, 2 insertions(+) (limited to 'input') diff --git a/input/cmd_list.c b/input/cmd_list.c index 333f2cb223..44cd65fbce 100644 --- a/input/cmd_list.c +++ b/input/cmd_list.c @@ -191,6 +191,7 @@ 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 6590158c31..6b1b19795c 100644 --- a/input/cmd_list.h +++ b/input/cmd_list.h @@ -99,6 +99,7 @@ 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, -- cgit v1.2.3