[Mplayer-cvslog] CVS: main/input input.c, 1.96, 1.97 input.h, 1.45, 1.46

Sascha Sommer CVS syncmail at mplayerhq.hu
Wed Sep 15 11:45:36 CEST 2004


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/input
In directory mail:/var2/tmp/cvs-serv20312/input

Modified Files:
	input.c input.h 
Log Message:
slave mode command to switch aspect ratio, patch by Aurelien Jacobs <aurel at gnuage.org>

Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -r1.96 -r1.97
--- input.c	15 Sep 2004 09:29:09 -0000	1.96
+++ input.c	15 Sep 2004 09:45:34 -0000	1.97
@@ -98,6 +98,7 @@
 #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}} } },

Index: input.h
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.h,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- input.h	2 Sep 2004 12:02:06 -0000	1.45
+++ input.h	15 Sep 2004 09:45:34 -0000	1.46
@@ -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




More information about the MPlayer-cvslog mailing list