Mercurial > mplayer.hg
diff libvo/vo_x11.c @ 8148:5b39e79af5fe
removed get_info, using the same sheme as in libmpcodecs instead
author | alex |
---|---|
date | Mon, 11 Nov 2002 15:22:10 +0000 |
parents | 143d730908ae |
children | fc803aa85058 |
line wrap: on
line diff
--- a/libvo/vo_x11.c Mon Nov 11 14:26:07 2002 +0000 +++ b/libvo/vo_x11.c Mon Nov 11 15:22:10 2002 +0000 @@ -8,7 +8,6 @@ #include "video_out.h" #include "video_out_internal.h" -LIBVO_EXTERN( x11 ) #include <X11/Xlib.h> #include <X11/Xutil.h> @@ -33,7 +32,7 @@ #include "../mplayer.h" #endif -static vo_info_t vo_info = +static vo_info_t info = { "X11 ( XImage/Shm )", "x11", @@ -41,6 +40,8 @@ "" }; +LIBVO_EXTERN( x11 ) + /* private prototypes */ static void Display_Image ( XImage * myximage,unsigned char *ImageData ); static void (*draw_alpha_fnc)(int x0,int y0, int w,int h, unsigned char* src, unsigned char *srca, int stride); @@ -432,9 +433,6 @@ return 0; } -static const vo_info_t* get_info( void ) -{ return &vo_info; } - static void Display_Image( XImage *myximage,uint8_t *ImageData ) { #ifdef HAVE_SHM