diff --git a/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11compositor.cpp b/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11compositor.cpp index ca940ae59d..6852bf245e 100644 --- a/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11compositor.cpp +++ b/subprojects/gst-plugins-bad/sys/d3d11/gstd3d11compositor.cpp @@ -1544,6 +1544,9 @@ gst_d3d11_compositor_calculate_background_color (GstD3D11Compositor * self, } } } + + self->clear_color[2] = self->clear_color[0]; + self->clear_color[2].color[0][3] = 0.0; } static gboolean