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
@ -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…
x
Reference in New Issue
Block a user