gl/colorconvert: fix up alpha clobbering
authorMatthew Waters <ystreet00@gmail.com>
Tue, 13 May 2014 04:07:39 +0000 (14:07 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:40 +0000 (19:31 +0000)
commit5efb69304afc8b38bf6d6b43198926a18659b3fa
treee2060c10a38f19837b65e72a1b7d2b5b96111a56
parentb4a0a26dddd5275b70c1302904837a80cced6c6d
gl/colorconvert: fix up alpha clobbering

Previously it would only work if the alpha value was in the last
component (RGBx, BGRx).  Now it works wherever the alpha value may
be (xRGB, xBGR, etc).
gst-libs/gst/gl/gstglcolorconvert.c