diff options
author | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-15 13:27:59 +0000 |
---|---|---|
committer | eugeni <eugeni@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-09-15 13:27:59 +0000 |
commit | 21faec3791f543a2ef23a92d57ddadf5519e5723 (patch) | |
tree | 6ed954c917b84459f7940037c163093b38b53df3 /input/input.c | |
parent | b32aa254f96c5f07d61b2464610bb1a5948bd897 (diff) | |
download | mpv-21faec3791f543a2ef23a92d57ddadf5519e5723.tar.bz2 mpv-21faec3791f543a2ef23a92d57ddadf5519e5723.tar.xz |
Add repeated screenshot mode to vf_screenshot.
It is triggered by "screenshot 1".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19839 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input/input.c')
-rw-r--r-- | input/input.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/input/input.c b/input/input.c index 79e211705e..5fe3c96eb0 100644 --- a/input/input.c +++ b/input/input.c @@ -128,7 +128,7 @@ static mp_cmd_t mp_cmds[] = { { MP_CMD_FILE_FILTER, "file_filter", 1, { { MP_CMD_ARG_INT, {0}}, {-1,{0}}}}, { MP_CMD_VO_ROOTWIN, "vo_rootwin", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, { MP_CMD_VO_BORDER, "vo_border", 0, { {MP_CMD_ARG_INT,{-1}}, {-1,{0}} } }, - { MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } }, + { MP_CMD_SCREENSHOT, "screenshot", 0, { {MP_CMD_ARG_INT,{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}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}} } }, @@ -396,7 +396,8 @@ static mp_cmd_bind_t def_cmd_binds[] = { #endif { { 'T', 0 }, "vo_ontop" }, { { 'f', 0 }, "vo_fullscreen" }, - { { 's', 0 }, "screenshot" }, + { { 's', 0 }, "screenshot 0" }, + { { 'S', 0 }, "screenshot 1" }, { { 'w', 0 }, "panscan -0.1" }, { { 'e', 0 }, "panscan +0.1" }, |