[MPlayer-cvslog] CVS: main/input input.c, 1.105, 1.106 input.h, 1.51, 1.52

Aurelien Jacobs CVS syncmail at mplayerhq.hu
Thu Dec 2 15:37:18 CET 2004


CVS change done by Aurelien Jacobs CVS

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

Modified Files:
	input.c input.h 
Log Message:
enable the run slave commande even without libmenu

Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- input.c	20 Nov 2004 10:51:13 -0000	1.105
+++ input.c	2 Dec 2004 14:37:16 -0000	1.106
@@ -111,6 +111,7 @@
   { 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_RUN, "run", 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}}}},
 
 #ifdef HAVE_NEW_GUI  
@@ -135,7 +136,6 @@
   { MP_CMD_CHELP, "help", 0, { {-1,{0}} } },
   { MP_CMD_CEXIT, "exit", 0, { {-1,{0}} } },
   { MP_CMD_CHIDE, "hide", 0, { {MP_CMD_ARG_INT,{3000}}, {-1,{0}} } },
-  { MP_CMD_CRUN, "run", 1, { {MP_CMD_ARG_STRING,{0}}, {-1,{0}} } },
 #endif
  
   { MP_CMD_GET_VO_FULLSCREEN, "get_vo_fullscreen", 0, { {-1,{0}} } },

Index: input.h
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.h,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- input.h	20 Nov 2004 10:51:13 -0000	1.51
+++ input.h	2 Dec 2004 14:37:16 -0000	1.52
@@ -61,6 +61,7 @@
 #define MP_CMD_SPEED_INCR 57
 #define MP_CMD_SPEED_MULT 58
 #define MP_CMD_SPEED_SET 59
+#define MP_CMD_RUN 60
 
 #define MP_CMD_GUI_EVENTS       5000
 #define MP_CMD_GUI_LOADFILE     5001
@@ -90,7 +91,6 @@
 #define MP_CMD_CHELP 7000
 #define MP_CMD_CEXIT 7001
 #define MP_CMD_CHIDE 7002
-#define MP_CMD_CRUN 7003
 
 // The arg types
 #define MP_CMD_ARG_INT 0




More information about the MPlayer-cvslog mailing list