From 2f98400294a98162e3b39267b4e89beff8938326 Mon Sep 17 00:00:00 2001 From: kmkaplan Date: Sun, 4 Aug 2002 02:22:27 +0000 Subject: Add the input command "change_rectangle" to control the rectangle plugin boundaries. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6889 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 1 + input/input.h | 1 + 2 files changed, 2 insertions(+) (limited to 'input') diff --git a/input/input.c b/input/input.c index 580b23a302..6265ae3eac 100644 --- a/input/input.c +++ b/input/input.c @@ -70,6 +70,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_PANSCAN, "panscan",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, { MP_CMD_LOADFILE, "loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, { MP_CMD_LOADLIST, "loadlist", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } }, + { MP_CMD_VF_CHANGE_RECTANGLE, "change_rectangle", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}}, #ifdef HAVE_NEW_GUI { MP_CMD_GUI_LOADFILE, "gui_loadfile", 0, { {-1,{0}} } }, diff --git a/input/input.h b/input/input.h index ee77376b38..1652b78ef7 100644 --- a/input/input.h +++ b/input/input.h @@ -30,6 +30,7 @@ #define MP_CMD_MUTE 25 #define MP_CMD_LOADFILE 26 #define MP_CMD_LOADLIST 27 +#define MP_CMD_VF_CHANGE_RECTANGLE 28 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 -- cgit v1.2.3