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

Benoît Amiaux benoit.amiaux at gmail.com
Wed Jun 30 20:50:00 CEST 2010


On 30/06/10 20:29, Alexander Strange wrote:
> 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.

Really ?

I added some code to the corevideo output and managed to create 
CVPixelBuffers with yv12 data (CVPixelBufferCreateWithPlanarBytes).

In the end, CVOpenGLTextureCacheCreateTextureFromImage refuse to work on 
such buffers and just return an error.





More information about the MPlayer-dev-eng mailing list