Mercurial > mplayer.hg
diff libvo/vo_gl.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 | 48c71b6c7389 |
children | 2c4cebb8637d |
line wrap: on
line diff
--- a/libvo/vo_gl.c Mon Nov 11 14:26:07 2002 +0000 +++ b/libvo/vo_gl.c Mon Nov 11 15:22:10 2002 +0000 @@ -15,9 +15,6 @@ #include "video_out.h" #include "video_out_internal.h" - -LIBVO_EXTERN(gl) - #include <X11/Xlib.h> #include <X11/Xutil.h> //#include <X11/keysym.h> @@ -30,7 +27,7 @@ #include "x11_common.h" #include "aspect.h" -static vo_info_t vo_info = +static vo_info_t info = { "X11 (OpenGL)", "gl", @@ -38,6 +35,8 @@ "" }; +LIBVO_EXTERN(gl) + /* local data */ static unsigned char *ImageData=NULL; @@ -245,12 +244,6 @@ return 0; } -static const vo_info_t* -get_info(void) -{ - return &vo_info; -} - static void check_events(void) { int e=vo_x11_check_events(mDisplay);