[Mplayer-cvslog] CVS: main/input input.c, 1.94, 1.95 input.h, 1.44, 1.45

Sascha Sommer CVS syncmail at mplayerhq.hu
Thu Sep 2 14:02:08 CEST 2004


CVS change done by Sascha Sommer CVS

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

Modified Files:
	input.c input.h 
Log Message:
slave mode command to en/disable vsync, patch by Aurelien Jacobs <aurel at gnuage.org>

Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- input.c	22 Aug 2004 19:01:56 -0000	1.94
+++ input.c	2 Sep 2004 12:02:06 -0000	1.95
@@ -103,6 +103,7 @@
   { MP_CMD_VO_ROOTWIN, "vo_rootwin", 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}} } },
+  { MP_CMD_SWITCH_VSYNC, "switch_vsync", 0, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
   { MP_CMD_LOADFILE, "loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
   { MP_CMD_LOADLIST, "loadlist", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
   { MP_CMD_VF_CHANGE_RECTANGLE, "change_rectangle", 2, { {MP_CMD_ARG_INT,{0}}, {MP_CMD_ARG_INT,{0}}, {-1,{0}}}},

Index: input.h
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.h,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -r1.44 -r1.45
--- input.h	22 Aug 2004 19:01:56 -0000	1.44
+++ input.h	2 Sep 2004 12:02:06 -0000	1.45
@@ -55,6 +55,7 @@
 #define MP_CMD_VO_ONTOP 51
 #define MP_CMD_SUB_SELECT 52
 #define MP_CMD_VO_ROOTWIN 53
+#define MP_CMD_SWITCH_VSYNC 54
 
 #define MP_CMD_GUI_EVENTS       5000
 #define MP_CMD_GUI_LOADFILE     5001




More information about the MPlayer-cvslog mailing list