[Toxine-cvs] CVS: toxine/src/plugins vo_aa.c,1.2,1.3 vo_dxr3.c,1.2,1.3 vo_plugin.h,1.2,1.3 vo_x11.c,
Brought to you by:
f1rmb
From: Daniel Caujolle-B. <f1...@us...> - 2002-07-03 08:44:45
|
Update of /cvsroot/toxine/toxine/src/plugins In directory usw-pr-cvs1:/tmp/cvs-serv1471/src/plugins Modified Files: vo_aa.c vo_dxr3.c vo_plugin.h vo_x11.c Log Message: Forward xine_event to vo plugin. Index: vo_aa.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/plugins/vo_aa.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- vo_aa.c 21 Jun 2002 08:57:25 -0000 1.2 +++ vo_aa.c 3 Jul 2002 08:44:42 -0000 1.3 @@ -142,6 +142,12 @@ /* * */ +static void receive_xine_event(toxine_t *tox, xine_event_t *event) { +} + +/* + * + */ static int is_fullscreen(toxine_t *tox, toxine_vo_plugin_t *vop) { return 0; } @@ -170,6 +176,7 @@ aa->set_property = set_property; aa->get_help = get_help; aa->is_fullscreen = is_fullscreen; + aa->receive_xine_event = receive_xine_event; aa->fullscreen = fullscreen; aa->private = (void *) private; Index: vo_dxr3.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/plugins/vo_dxr3.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- vo_dxr3.c 21 Jun 2002 08:57:25 -0000 1.2 +++ vo_dxr3.c 3 Jul 2002 08:44:42 -0000 1.3 @@ -125,6 +125,9 @@ return "Video out plugin supporting dxr3/hw+ cards.\n"; } +static void receive_xine_event(toxine_t *tox, xine_event_t *event) { +} + static int is_fullscreen(toxine_t *tox, toxine_vo_plugin_t *vop) { return 0; } @@ -149,6 +152,7 @@ dxr3->get_property_min_max = get_property_min_max; dxr3->set_property = set_property; dxr3->get_help = get_help; + dxr3->receive_xine_event = receive_xine_event; dxr3->is_fullscreen = is_fullscreen; dxr3->fullscreen = fullscreen; dxr3->private = (void *) private; Index: vo_plugin.h =================================================================== RCS file: /cvsroot/toxine/toxine/src/plugins/vo_plugin.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- vo_plugin.h 21 Jun 2002 08:57:25 -0000 1.2 +++ vo_plugin.h 3 Jul 2002 08:44:42 -0000 1.3 @@ -37,6 +37,7 @@ void (*get_property_min_max)(toxine_t *, int property, int *min, int *max); int (*set_property)(toxine_t *, int property, int value); char *(*get_help)(void); + void (*receive_xine_event)(toxine_t *, xine_event_t *); int (*is_fullscreen)(toxine_t *, toxine_vo_plugin_t *); void (*fullscreen)(toxine_t *, toxine_vo_plugin_t *); void *private; Index: vo_x11.c =================================================================== RCS file: /cvsroot/toxine/toxine/src/plugins/vo_x11.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- vo_x11.c 21 Jun 2002 13:14:59 -0000 1.4 +++ vo_x11.c 3 Jul 2002 08:44:42 -0000 1.5 @@ -1020,6 +1020,12 @@ /* * */ +static void receive_xine_event(toxine_t *tox, xine_event_t *event) { +} + +/* + * + */ static int is_fullscreen(toxine_t *tox, toxine_vo_plugin_t *vop) { x11_private_t *private = (x11_private_t *) vop->private; return (private->fullscreen ? 1 : 0); @@ -1052,6 +1058,7 @@ x11->get_property_min_max = get_property_min_max; x11->set_property = set_property; x11->get_help = get_help; + x11->receive_xine_event = receive_xine_event; x11->is_fullscreen = is_fullscreen; x11->fullscreen = fullscreen; x11->private = (void *) private; |