gltransformation: clear to transparent

Otherwise composition will result in a black frame outside the transformed
video.
This commit is contained in:
Matthew Waters 2015-12-12 09:33:38 +11:00
parent d794908dfd
commit e602e4a1cc
2 changed files with 2 additions and 2 deletions

2
common

@ -1 +1 @@
Subproject commit 86e46630ed8af8d94796859db550a9c3d89c9f65
Subproject commit b3199090fa16a545d585a54deaa61b687ac369e1

View file

@ -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);