video: fix gst_video_format_from_masks() for little endian masks with alpha
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 09:36:20 +0000 (10:36 +0100)
commit5da2bd3216cd067e720386b791509bf2f5222a1a
tree6cca57aff7ff0242890691946f7a0f7091a39a95
parentced858fa657abe7422e0d5da3a7247570fef7605
video: fix gst_video_format_from_masks() for little endian masks with alpha

Need to byte-order swap the alpha mask as well in this case.

https://bugzilla.gnome.org/show_bug.cgi?id=700413
gst-libs/gst/video/video-format.c