summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-04 20:17:07 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-06-04 20:17:07 +0000
commite598b63ddc1afd3d9b698d6fbd081b6762d77457 (patch)
treeac8ca76046683697955c30445effabc425beb7a6 /input
parentd20d9e132a09b2b0f647a04be867b04eed1ad62a (diff)
downloadmpv-e598b63ddc1afd3d9b698d6fbd081b6762d77457.tar.bz2
mpv-e598b63ddc1afd3d9b698d6fbd081b6762d77457.tar.xz
pan&scan support with -vo xv by ?? <mplayer@svennevid.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c3
-rw-r--r--input/input.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 88e3ae0206..16899f62fd 100644
--- a/input/input.c
+++ b/input/input.c
@@ -65,6 +65,7 @@ static mp_cmd_t mp_cmds[] = {
#endif
{ MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 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}} } },
#ifdef HAVE_NEW_GUI
{ MP_CMD_GUI_LOADFILE, "gui_loadfile", 0, { {-1,{0}} } },
@@ -243,6 +244,8 @@ static mp_cmd_bind_t def_cmd_binds[] = {
#endif
{ { 'f', 0 }, "vo_fullscreen" },
{ { 's', 0 }, "screenshot" },
+ { { 'w', 0 }, "panscan -0.1" },
+ { { 'e', 0 }, "panscan +0.1" },
{ { 0 }, NULL }
};
diff --git a/input/input.h b/input/input.h
index 221c729859..462c142b62 100644
--- a/input/input.h
+++ b/input/input.h
@@ -26,6 +26,7 @@
#define MP_CMD_SUB_POS 21
#define MP_CMD_DVDNAV 22
#define MP_CMD_SCREENSHOT 23
+#define MP_CMD_PANSCAN 24
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001