From: Darren S. <ds...@us...> - 2007-12-15 04:53:00
|
Update of /cvsroot/xine/xine-plugin/src In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv17861/src Modified Files: plugin.c Log Message: Stop using xine_gui_send_vo_data since it's removed from xine-lib 1.2. Index: plugin.c =================================================================== RCS file: /cvsroot/xine/xine-plugin/src/plugin.c,v retrieving revision 1.76 retrieving revision 1.77 diff -u -r1.76 -r1.77 --- plugin.c 15 Dec 2007 03:56:19 -0000 1.76 +++ plugin.c 15 Dec 2007 04:52:56 -0000 1.77 @@ -552,8 +552,8 @@ case Expose: if (evt.xexpose.count == 0) - xine_gui_send_vo_data (this->stream, - XINE_GUI_SEND_EXPOSE_EVENT, &evt); + xine_port_send_gui_data (this->vo_driver, + XINE_GUI_SEND_EXPOSE_EVENT, &evt); break; case ConfigureNotify: @@ -739,10 +739,10 @@ log ("xine_stream_new() failed!"); return NPERR_OUT_OF_MEMORY_ERROR; } - xine_gui_send_vo_data (this->stream, - XINE_GUI_SEND_DRAWABLE_CHANGED, (void *)this->window); - xine_gui_send_vo_data (this->stream, - XINE_GUI_SEND_VIDEOWIN_VISIBLE, (void *) 1); + xine_port_send_gui_data (this->vo_driver, + XINE_GUI_SEND_DRAWABLE_CHANGED, (void *)this->window); + xine_port_send_gui_data (this->vo_driver, + XINE_GUI_SEND_VIDEOWIN_VISIBLE, (void *) 1); /* Load xine logo. */ if (xine_open (this->stream, LOGO_PATH)) xine_play (this->stream, 0, 0); @@ -1557,9 +1557,9 @@ pthread_mutex_unlock (&this->mutex); if (this->stream) { - xine_gui_send_vo_data (this->stream, - XINE_GUI_SEND_DRAWABLE_CHANGED, - (void *) this->window); + xine_port_send_gui_data (this->vo_driver, + XINE_GUI_SEND_DRAWABLE_CHANGED, + (void *) this->window); } } else if (this->w != window->width || this->h != window->height) { @@ -1581,8 +1581,8 @@ else { /* Expose */ if (this->stream && !this->playing) - xine_gui_send_vo_data (this->stream, - XINE_GUI_SEND_EXPOSE_EVENT, NULL ); + xine_port_send_gui_data (this->vo_driver, + XINE_GUI_SEND_EXPOSE_EVENT, NULL ); } if (this->stream) |