summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2017-12-26 01:38:32 +0100
committerKevin Mitchell <kevmitch@gmail.com>2017-12-27 14:29:15 -0700
commit0030e049cd1707762f6f8cd76c7414b95baf928f (patch)
tree55293e914b7fbfee789fce0b89ab2991ead5b94f /input
parent451fc931b0f4924801b9a27d25a5c0339b2fcace (diff)
downloadmpv-0030e049cd1707762f6f8cd76c7414b95baf928f.tar.bz2
mpv-0030e049cd1707762f6f8cd76c7414b95baf928f.tar.xz
player: add internal `vo-resize` command
Intended to be used with the properties from previous commit.
Diffstat (limited to 'input')
-rw-r--r--input/cmd_list.c1
-rw-r--r--input/cmd_list.h1
2 files changed, 2 insertions, 0 deletions
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,