mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
d3d11overlaycompositor: Fix resource leak
Fixing regression since 94eadc9810
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4885>
This commit is contained in:
parent
3153e7f46d
commit
c40f6dac57
1 changed files with 7 additions and 7 deletions
|
@ -509,13 +509,13 @@ gst_d3d11_overlay_compositor_setup_shader (GstD3D11OverlayCompositor * self)
|
|||
|
||||
context_handle->Unmap (index_buffer.Get (), 0);
|
||||
|
||||
priv->ps = ps.Detach ();
|
||||
priv->premul_ps = premul_ps.Detach ();
|
||||
priv->vs = vs.Detach ();
|
||||
priv->layout = layout.Detach ();
|
||||
priv->sampler = sampler.Detach ();
|
||||
priv->blend = blend.Detach ();
|
||||
priv->index_buffer = index_buffer.Detach ();
|
||||
priv->ps = ps;
|
||||
priv->premul_ps = premul_ps;
|
||||
priv->vs = vs;
|
||||
priv->layout = layout;
|
||||
priv->sampler = sampler;
|
||||
priv->blend = blend;
|
||||
priv->index_buffer = index_buffer;
|
||||
|
||||
priv->viewport.TopLeftX = 0;
|
||||
priv->viewport.TopLeftY = 0;
|
||||
|
|
Loading…
Reference in a new issue