summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authoralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-18 00:11:43 +0000
committeralbeu <albeu@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-18 00:11:43 +0000
commitb336997d66becdd49729dc84038b7c4c6ef3fd08 (patch)
tree7ffe28977d74340f828c1417adf8c630bb949ff6 /input
parentc6eed70a1316fe7207c3b3ce5d8aa76360b13833 (diff)
downloadmpv-b336997d66becdd49729dc84038b7c4c6ef3fd08.tar.bz2
mpv-b336997d66becdd49729dc84038b7c4c6ef3fd08.tar.xz
Add the forgoten scrennshot command
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6113 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c2
-rw-r--r--input/input.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 808eba3989..e8c9f419e9 100644
--- a/input/input.c
+++ b/input/input.c
@@ -64,6 +64,7 @@ static mp_cmd_t mp_cmds[] = {
{ MP_CMD_TV_STEP_CHANNEL_LIST, "tv_step_chanlist", 0, { {-1,{0}} } },
#endif
{ MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } },
+ { MP_CMD_SCREENSHOT, "screenshot", 0, { {-1,{0}} } },
#ifdef HAVE_NEW_GUI
{ MP_CMD_GUI_LOADFILE, "gui_loadfile", 0, { {-1,{0}} } },
@@ -241,6 +242,7 @@ static mp_cmd_bind_t def_cmd_binds[] = {
{ { JOY_BTN3, 0 }, "volume -1"},
#endif
{ { 'f', 0 }, "vo_fullscreen" },
+ { { 's', 0 }, "screenshot" },
{ { 0 }, NULL }
};
diff --git a/input/input.h b/input/input.h
index 4c59a5fda0..221c729859 100644
--- a/input/input.h
+++ b/input/input.h
@@ -25,6 +25,7 @@
#define MP_CMD_VO_FULLSCREEN 20
#define MP_CMD_SUB_POS 21
#define MP_CMD_DVDNAV 22
+#define MP_CMD_SCREENSHOT 23
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001