d3d11converter: Fix constant buffer update

Fixing regression of
https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6434

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/7814>
This commit is contained in:
Seungha Yang 2024-11-02 03:18:26 +09:00 committed by GStreamer Marge Bot
parent 145321929c
commit 0c6e7e7f1a

View file

@ -2367,7 +2367,7 @@ gst_d3d11_converter_convert_internal (GstD3D11Converter * self,
} }
alpha_buffer = (PSAlphaFactor *) map.pData; alpha_buffer = (PSAlphaFactor *) map.pData;
memcpy (alpha_buffer, &priv->alpha_data, sizeof (PSConstBuffer)); memcpy (alpha_buffer, &priv->alpha_data, sizeof (PSAlphaFactor));
context->Unmap (priv->alpha_buffer.Get (), 0); context->Unmap (priv->alpha_buffer.Get (), 0);
} }