[gst-devel] Re: [gst-cvs] zeenix gst-plugins: gst-plugins/ext/libcaca/

Ronald Bultje rbultje at ronald.bitfreak.net
Tue Jan 13 04:22:01 CET 2004


Hi Zeeshan,

On Tue, 2004-01-13 at 00:26, Zeeshan Ali wrote:
> Congratulations, The first working version of cacasink. There
> is still one issue unresolved: libcaca accepts the color masks
> reversed.

That is endianness-dependent. Note that our masks for 24/32bpp are
*always* big-endian. See gstreamer/docs/random/mimetypes. In ximagesink,
for example, you see that X provides the masks in host-endianness, so
(on LE), we convert them. See ximagesink.c. I'm guessing that libcaca
expects masks as host-endian, too, so you need to convert them to that
for LE computers in 24/32 bpp mode.

Ronald

-- 
Ronald Bultje <rbultje at ronald.bitfreak.net>
Linux Video/Multimedia developer





More information about the gstreamer-devel mailing list