ximagesink: add support for 32-bit RGB with alpha mask
authorBenjamin Gaignard <benjamin.gaignard@linaro.org>
Thu, 16 May 2013 08:52:29 +0000 (10:52 +0200)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 16 May 2013 10:24:10 +0000 (11:24 +0100)
commit80e700a566cdfe03751a7e48ae7fe3b18d1c6fb6
tree3e29f89797679a0498a498108385335936b14a77
parent1bc94d4aa3babbfa76da0599d93005755ae21748
ximagesink: add support for 32-bit RGB with alpha mask

When X screen return a depth = 32 with bpp = 32, the alpha mask
must be correctly set to have a known GStreamer video format.
X visual structure doesn't provide the alpha mask information,
but we can find it from the others masks.

https://bugzilla.gnome.org/show_bug.cgi?id=700413
sys/ximage/ximagesink.c