From: Guenter B. <gu...@us...> - 2004-07-14 21:32:49
|
Update of /cvsroot/xine/gnome-xine/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11565 Modified Files: gtkvideo.c Log Message: removed unnecessary code, replace xine_gui_send_vo_data which seems to be broken Index: gtkvideo.c =================================================================== RCS file: /cvsroot/xine/gnome-xine/src/gtkvideo.c,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- gtkvideo.c 14 Jul 2004 20:32:14 -0000 1.5 +++ gtkvideo.c 14 Jul 2004 21:32:35 -0000 1.6 @@ -88,7 +88,6 @@ Display *display; Window video_window; int screen; - GC gc; int completion_event; pthread_t thread; @@ -405,11 +404,10 @@ switch (event.type) { case Expose: - if (event.xexpose.count != 0) break; - xine_gui_send_vo_data (priv->stream, + xine_port_send_gui_data (priv->video_port, XINE_GUI_SEND_EXPOSE_EVENT, &event); break; @@ -594,7 +592,6 @@ /* GdkWindowAttr attributes; */ /* gint attributes_mask; */ GtkVideo *this; - XGCValues values; Pixmap bm_no; int screen; unsigned long black_pixel; @@ -680,7 +677,6 @@ XSelectInput (priv->display, priv->video_window, StructureNotifyMask | ExposureMask | ButtonPressMask | PointerMotionMask); - /* * load audio, video drivers */ @@ -694,11 +690,6 @@ xine_post_wire_video_port (priv->out, priv->video_port); - priv->gc = XCreateGC (priv->display, priv->video_window, - (GCForeground | GCBackground), - &values); - - XUnlockDisplay (priv->display); /* |