mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-28 20:51:13 +00:00
gl/colorconvert: choose the right alpha component for AYUV -> RGBA
This commit is contained in:
parent
9fffa2cbc6
commit
ae283ec9da
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ static const char frag_AYUV_to_RGB[] =
|
||||||
" r = dot(texel.gba, coeff1);\n"
|
" r = dot(texel.gba, coeff1);\n"
|
||||||
" g = dot(texel.gba, coeff2);\n"
|
" g = dot(texel.gba, coeff2);\n"
|
||||||
" b = dot(texel.gba, coeff3);\n"
|
" b = dot(texel.gba, coeff3);\n"
|
||||||
" a = texel.a;\n"
|
" a = texel.r;\n"
|
||||||
" gl_FragColor=vec4(%c,%c,%c,%c);\n"
|
" gl_FragColor=vec4(%c,%c,%c,%c);\n"
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue