[MPlayer-dev-eng] OSX, Quartz & yv12

Romain Dolbeau dolbeau at irisa.fr
Mon Jan 26 13:38:26 CET 2004


Nicolas Plourde wrote:
> Hi, Im currently programming a vo driver for OSX using Carbon & Quartz.
> I can play RGB BGR correctly but yv12 is not working correctly 
> (everything is light blue).

> Look like Mplayer is converting color space but something is going wrong 
> in the
> process (big endian maybe). Any idea ?

Apparently, in your latest patch, replacing IMGFMT_RGB24
by IMGFMT_RGB32 (in query_format) and kCGImageAlphaNone
by kCGImageAlphaNoneSkipFirst (in draw_frame) give
a correct result.

-- 
Romain Dolbeau




More information about the MPlayer-dev-eng mailing list