projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
610f965
)
gltransformation: clear to transparent
author
Matthew Waters
<matthew@centricular.com>
Fri, 11 Dec 2015 22:33:38 +0000
(09:33 +1100)
committer
Tim-Philipp Müller
<tim@centricular.com>
Sat, 9 Dec 2017 19:32:12 +0000
(19:32 +0000)
Otherwise composition will result in a black frame outside the transformed
video.
ext/gl/gstgltransformation.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstgltransformation.c
b/ext/gl/gstgltransformation.c
index
38b5743
..
5a82ade
100644
(file)
--- a/
ext/gl/gstgltransformation.c
+++ b/
ext/gl/gstgltransformation.c
@@
-597,7
+597,7
@@
gst_gl_transformation_callback (gpointer stuff)
gst_gl_context_clear_shader (GST_GL_BASE_FILTER (filter)->context);
gl->BindTexture (GL_TEXTURE_2D, 0);
- gl->ClearColor (0.f, 0.f, 0.f,
1
.f);
+ gl->ClearColor (0.f, 0.f, 0.f,
0
.f);
gl->Clear (GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
gst_gl_shader_use (transformation->shader);