[MPlayer-dev-eng] [PATCH] configure support for SDL-based -vo gl

Alexander Strange astrange at ithinksw.com
Sun Apr 25 08:50:53 CEST 2010


On Apr 25, 2010, at 2:30 AM, Reimar Döffinger wrote:

> Hello,
> the largest part is moving the configure check below so it can reuse the SDL
> detection.
> Admittedly that gives it a false dependency on -vo sdl...
> Some other hacks: if corevideo and SDL are enabled, it does not even try to
> compile the X11 backend, because that is the only way it can avoid a -lGL in the
> link command which causes crashes when you try to use OpenGL extensions.
> This might be possible to avoid if SDL offers a way to query OpenGL function
> pointers, but I haven't found one yet....

I haven't used it, but SDL_GL_GetProcAddress looks appropriate.

Hmm, SDL also includes its own copy of the standard OpenGL headers with a bunch of Windows names in it. That seems like it might cause problems on other systems if you use it instead of the real GL headers, though I guess they'd know that better than me…


More information about the MPlayer-dev-eng mailing list