diff options
author | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-02 12:02:06 +0000 |
---|---|---|
committer | faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-02 12:02:06 +0000 |
commit | e27c39844fb1485ec6fcb058482302b5863008cc (patch) | |
tree | 7866bef5552d8b2fa81270175ce7caf77ecc9ac2 /input | |
parent | 0953591a535fcf58e09982fc42ad7c0eb9dc9703 (diff) |
slave mode command to en/disable vsync, patch by Aurelien Jacobs <aurel at gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13229 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r-- | input/input.c | 1 | ||||
-rw-r--r-- | input/input.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c index 430dd95120..1196045bda 100644 --- a/input/input.c +++ b/input/input.c @@ -103,6 +103,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_VO_ROOTWIN, "vo_rootwin", 0, { {-1,{0}} } }, { MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } }, { MP_CMD_PANSCAN, "panscan",1, { {MP_CMD_ARG_FLOAT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, + { MP_CMD_SWITCH_VSYNC, "switch_vsync", 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}}}}, diff --git a/input/input.h b/input/input.h index 7ec8de3337..a2079a5c18 100644 --- a/input/input.h +++ b/input/input.h @@ -55,6 +55,7 @@ #define MP_CMD_VO_ONTOP 51 #define MP_CMD_SUB_SELECT 52 #define MP_CMD_VO_ROOTWIN 53 +#define MP_CMD_SWITCH_VSYNC 54 #define MP_CMD_GUI_EVENTS 5000 #define MP_CMD_GUI_LOADFILE 5001 |