From ae283ec9daad9a7d367d6a649b30540222eacafd Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Sun, 11 May 2014 14:02:34 +1000 Subject: [PATCH] gl/colorconvert: choose the right alpha component for AYUV -> RGBA --- gst-libs/gst/gl/gstglcolorconvert.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglcolorconvert.c b/gst-libs/gst/gl/gstglcolorconvert.c index 20230d2139..f147c89135 100644 --- a/gst-libs/gst/gl/gstglcolorconvert.c +++ b/gst-libs/gst/gl/gstglcolorconvert.c @@ -181,7 +181,7 @@ static const char frag_AYUV_to_RGB[] = " r = dot(texel.gba, coeff1);\n" " g = dot(texel.gba, coeff2);\n" " b = dot(texel.gba, coeff3);\n" - " a = texel.a;\n" + " a = texel.r;\n" " gl_FragColor=vec4(%c,%c,%c,%c);\n" "}";