From a1cc1116b525ee08c31e23adc3fd09333ca19964 Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Sat, 12 Dec 2015 09:33:38 +1100 Subject: [PATCH] gltransformation: clear to transparent Otherwise composition will result in a black frame outside the transformed video. --- ext/gl/gstgltransformation.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gl/gstgltransformation.c b/ext/gl/gstgltransformation.c index 38b5743e10..5a82ade5f9 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);