[MPlayer-dev-eng] GBR24P default conversion to BGR24

Hans-Kristian Arntzen maister at archlinux.us
Sun Nov 6 15:03:15 CET 2011


As FFmpeg upstream recently got an unscaled GBR24P -> RGB path in 
swscale, it might be a good idea to default the conversion to BGR24 (or 
RGB24, whatever's the fastest).

FFmpeg commit:
http://git.videolan.org/?p=ffmpeg.git;a=commit;h=1e79926f9e8bbfa2920a1d40e36d9ffcf244fe0a

Currently the GBR24P gets autoconverted to YUV444P for -vo gl, which 
isn't very ideal now.

Attached is the very trivial patch to set preferred format. There might 
be a more ideal approach, i.e. supporting GBR24P directly in the various 
drivers, but that would probably create more work than necessary.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gbr24p-conv.patch
Type: text/x-patch
Size: 303 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20111106/39cb61f3/attachment.bin>


More information about the MPlayer-dev-eng mailing list