[Mplayer-cvslog] CVS: main/input input.c,1.41,1.42 input.h,1.14,1.15
Alban Bedel CVS
albeu at mplayerhq.hu
Fri Jul 26 23:26:41 CEST 2002
Update of /cvsroot/mplayer/main/input
In directory mail:/var/tmp.root/cvs-serv32657/input
Modified Files:
input.c input.h
Log Message:
Add loadfile and loadlist commands. May be buggy if the filename contain some
spaces.
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.41
retrieving revision 1.42
diff -u -r1.41 -r1.42
--- input.c 20 Jul 2002 14:26:37 -0000 1.41
+++ input.c 26 Jul 2002 21:26:39 -0000 1.42
@@ -68,6 +68,8 @@
{ 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}} } },
+ { MP_CMD_LOADFILE, "loadfile", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
+ { MP_CMD_LOADLIST, "loadlist", 1, { {MP_CMD_ARG_STRING, {0}}, {-1,{0}} } },
#ifdef HAVE_NEW_GUI
{ MP_CMD_GUI_LOADFILE, "gui_loadfile", 0, { {-1,{0}} } },
Index: input.h
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- input.h 6 Jun 2002 07:13:56 -0000 1.14
+++ input.h 26 Jul 2002 21:26:39 -0000 1.15
@@ -28,6 +28,8 @@
#define MP_CMD_SCREENSHOT 23
#define MP_CMD_PANSCAN 24
#define MP_CMD_MUTE 25
+#define MP_CMD_LOADFILE 26
+#define MP_CMD_LOADLIST 27
#define MP_CMD_GUI_EVENTS 5000
#define MP_CMD_GUI_LOADFILE 5001
More information about the MPlayer-cvslog
mailing list