mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
gltransformation: clear to transparent
Otherwise composition will result in a black frame outside the transformed video.
This commit is contained in:
parent
610f965be8
commit
a1cc1116b5
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue