diff options
author | Matthew Waters <matthew@centricular.com> | 2015-12-12 09:33:38 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2015-12-12 09:33:38 +1100 |
commit | e602e4a1ccad6e88582755a78689b689aa3b4822 (patch) | |
tree | 3fb7d4b376b9bee5bdd12bd0772857f47acd097a /ext | |
parent | d794908dfdb726a2156512a495044a3941cad1a9 (diff) | |
download | gstreamer-plugins-bad-e602e4a1ccad6e88582755a78689b689aa3b4822.tar.gz |
gltransformation: clear to transparent
Otherwise composition will result in a black frame outside the transformed
video.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/gl/gstgltransformation.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gl/gstgltransformation.c b/ext/gl/gstgltransformation.c index 38b5743e1..5a82ade5f 100644 --- 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); |