diff options
| author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-05-24 23:15:40 +0000 |
|---|---|---|
| committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2001-05-24 23:15:40 +0000 |
| commit | cd60edea62f35966d0ce54cc51133f1d6ea3931d (patch) | |
| tree | 4a9a3c8aaac73c215bd706faae3b8527eaa5639d /src/video_out | |
| parent | f2e7ffa88dedcd7ce06f89dc5eb96eb766af4bed (diff) | |
| download | xine-lib-cd60edea62f35966d0ce54cc51133f1d6ea3931d.tar.gz xine-lib-cd60edea62f35966d0ce54cc51133f1d6ea3931d.tar.bz2 | |
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
Diffstat (limited to 'src/video_out')
| -rw-r--r-- | src/video_out/video_out_x11.h | 6 | ||||
| -rw-r--r-- | src/video_out/video_out_xv.c | 6 |
2 files changed, 10 insertions, 2 deletions
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; |
