aboutsummaryrefslogtreecommitdiffhomepage
path: root/input
diff options
context:
space:
mode:
authorGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-15 09:45:34 +0000
committerGravatar faust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-09-15 09:45:34 +0000
commitc95142bc23ae6569a14a3f692f4d2aa9048db9c2 (patch)
tree098ac823ebcb3ca6d0c79379d15fe6a1f5393057 /input
parent49c553dc7fbeb3e62a046cb8d51aec3ab90a83cc (diff)
slave mode command to switch aspect ratio, patch by Aurelien Jacobs <aurel at gnuage.org>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13340 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'input')
-rw-r--r--input/input.c1
-rw-r--r--input/input.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/input/input.c b/input/input.c
index 9d1ca896bd..2ac4d9da32 100644
--- a/input/input.c
+++ b/input/input.c
@@ -98,6 +98,7 @@ static mp_cmd_t mp_cmds[] = {
#ifdef HAS_DVBIN_SUPPORT
{ MP_CMD_DVB_SET_CHANNEL, "dvb_set_channel", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}},
#endif
+ { MP_CMD_SWITCH_RATIO, "switch_ratio", 0, { {MP_CMD_ARG_FLOAT,{0}}, {-1,{0}} } },
{ MP_CMD_VO_FULLSCREEN, "vo_fullscreen", 0, { {-1,{0}} } },
{ MP_CMD_VO_ONTOP, "vo_ontop", 0, { {-1,{0}} } },
{ MP_CMD_VO_ROOTWIN, "vo_rootwin", 0, { {-1,{0}} } },
diff --git a/input/input.h b/input/input.h
index a2079a5c18..a6b1948806 100644
--- a/input/input.h
+++ b/input/input.h
@@ -56,6 +56,7 @@
#define MP_CMD_SUB_SELECT 52
#define MP_CMD_VO_ROOTWIN 53
#define MP_CMD_SWITCH_VSYNC 54
+#define MP_CMD_SWITCH_RATIO 55
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001