From cd60edea62f35966d0ce54cc51133f1d6ea3931d Mon Sep 17 00:00:00 2001 From: Daniel Caujolle-Bert Date: Thu, 24 May 2001 23:15:40 +0000 Subject: Add new gui_data_exchange property: GUI_DATA_EX_DRAWABLE_CHANGED, it inform video driver about the new drawable to use. Use pthread_exit(NULL) at end of threads. Add extra checks in stream detection in demux_mpeg.c about mpeg1 support only. CVS patchset: 80 CVS date: 2001/05/24 23:15:40 --- src/video_out/video_out_x11.h | 6 +++++- src/video_out/video_out_xv.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'src/video_out') diff --git a/src/video_out/video_out_x11.h b/src/video_out/video_out_x11.h index 40481b1f5..60232d6c9 100644 --- a/src/video_out/video_out_x11.h +++ b/src/video_out/video_out_x11.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_x11.h,v 1.3 2001/05/19 21:53:46 guenter Exp $ + * $Id: video_out_x11.h,v 1.4 2001/05/24 23:15:40 f1rmb Exp $ * * structs and defines specific to all x11 related output plugins * (any x11 base xine ui should include this) @@ -88,6 +88,10 @@ typedef struct { #define GUI_DATA_EX_DEST_POS_SIZE_CHANGED 0 /* xevent *data */ #define GUI_DATA_EX_COMPLETION_EVENT 1 +/* Drawable has changed */ +#define GUI_DATA_EX_DRAWABLE_CHANGED 2 + + #endif diff --git a/src/video_out/video_out_xv.c b/src/video_out/video_out_xv.c index 3cebddcd6..7bf50d881 100644 --- a/src/video_out/video_out_xv.c +++ b/src/video_out/video_out_xv.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: video_out_xv.c,v 1.19 2001/05/24 21:41:28 guenter Exp $ + * $Id: video_out_xv.c,v 1.20 2001/05/24 23:15:40 f1rmb Exp $ * * video_out_xv.c, X11 video extension interface for xine * @@ -446,6 +446,10 @@ static int xv_gui_data_exchange (vo_driver_t *this_gen, int data_type, void *dat /* FIXME : implement */ break; + + case GUI_DATA_EX_DRAWABLE_CHANGED: + this->drawable = (Drawable) data; + break; } return 0; -- cgit v1.2.3