projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fffa2c
)
gl/colorconvert: choose the right alpha component for AYUV -> RGBA
author
Matthew Waters
<ystreet00@gmail.com>
Sun, 11 May 2014 04:02:34 +0000
(14:02 +1000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:31:40 +0000
(19:31 +0000)
gst-libs/gst/gl/gstglcolorconvert.c
patch
|
blob
|
history
diff --git
a/gst-libs/gst/gl/gstglcolorconvert.c
b/gst-libs/gst/gl/gstglcolorconvert.c
index 20230d21397e559b47eb241c97a117655e9ceb2a..f147c89135d6ceefbb0b33a54587785af2477975 100644
(file)
--- 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"
"}";