From e598b63ddc1afd3d9b698d6fbd081b6762d77457 Mon Sep 17 00:00:00 2001 From: arpi Date: Tue, 4 Jun 2002 20:17:07 +0000 Subject: pan&scan support with -vo xv by ?? git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6305 b3059339-0415-0410-9bf9-f77b7e298cf2 --- input/input.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'input/input.c') 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 } }; -- cgit v1.2.3