[Mplayer-cvslog] CVS: main/input input.c,1.28,1.29 input.h,1.10,1.11
Arpi of Ize
arpi at mplayer.dev.hu
Wed Apr 3 19:58:20 CEST 2002
Update of /cvsroot/mplayer/main/input
In directory mplayer:/var/tmp.root/cvs-serv30059
Modified Files:
input.c input.h
Log Message:
dvdnav event added, queue size 10->100, added void* event arg type - dvdnav patch by Kees Cook <mplayer at outflux.net>
Index: input.c
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- input.c 28 Mar 2002 20:40:21 -0000 1.28
+++ input.c 3 Apr 2002 17:58:17 -0000 1.29
@@ -78,6 +78,7 @@
#ifdef USE_DVDNAV
{ MP_CMD_DVDNAV, "dvdnav", 1, { {MP_CMD_ARG_INT,{0}}, {-1,{0}} } },
+ { MP_CMD_DVDNAV_EVENT, "dvdnav_event", 1, { { MP_CMD_ARG_VOID, {0}}, {-1, {0}} } },
#endif
{ 0, NULL, 0, {} }
@@ -257,7 +258,7 @@
#define MP_FD_GOT_CMD (1<<3)
#define MP_FD_NO_SELECT (1<<4)
-#define CMD_QUEUE_SIZE 10
+#define CMD_QUEUE_SIZE 100
typedef struct mp_input_fd {
int fd;
Index: input.h
===================================================================
RCS file: /cvsroot/mplayer/main/input/input.h,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- input.h 28 Mar 2002 20:40:21 -0000 1.10
+++ input.h 3 Apr 2002 17:58:17 -0000 1.11
@@ -37,6 +37,8 @@
#define MP_CMD_GUI_FULLSCREEN 5008
#define MP_CMD_GUI_SKINBROWSER 5009
+#define MP_CMD_DVDNAV_EVENT 6000
+
#define MP_CMD_DVDNAV_UP 1
#define MP_CMD_DVDNAV_DOWN 2
#define MP_CMD_DVDNAV_LEFT 3
@@ -48,6 +50,7 @@
#define MP_CMD_ARG_INT 0
#define MP_CMD_ARG_FLOAT 1
#define MP_CMD_ARG_STRING 2
+#define MP_CMD_ARG_VOID 3
#ifndef MP_CMD_MAX_ARGS
#define MP_CMD_MAX_ARGS 10
@@ -77,6 +80,7 @@
int i;
float f;
char* s;
+ void* v;
} mp_cmd_arg_value_t;
typedef struct mp_cmd_arg {
More information about the MPlayer-cvslog
mailing list