[MPlayer-dev-eng] [PATCH] Fix GL_SDL detection on OS X

Alexander Strange astrange at ithinksw.com
Wed Jun 30 20:29:47 CEST 2010


2010/6/30 Benoît Amiaux <benoit.amiaux at gmail.com>:
> On 30/06/10 19:37, Reimar Döffinger wrote:
>>>
>>> GL+sdl seems usable after a quick test though a native one would still be
>>> better.
>
> I had some configure issues too but my patche was less clean.
>
> About the GL/SDL, it's almost good except
>
> * vsync is broken. I remember making it work through the sdl api, though.
> * it's impossible to set the video full screen on the second screen. It
> looks like we need SDL 1.3 for that.

I noticed:
* it opens an empty blank window before resizing it to the video size
* it asks for -screenw and -screenh
* you need to ship SDL in your binary

> On the opposite, it doesn't need to convert yv12 videos to yuy2 like the
> corevideo output.

CoreVideo supports YV12 planar in 10.6. I looked a little at adding that
to the vo, but didn't see what to do with shared buffer support.

Also gl and corevideo both do unnecessary picture copies on OS X -
gl's is due to not using EXT_client_storage and corevideo's is due to
calling memcpy_pic() to draw OSD stuff instead of using EOSD.

gl's issue is easier, I think.



More information about the MPlayer-dev-eng mailing list