From 0c6e7e7f1a81c83ebb3b8488f894a30415c52c5e Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Sat, 2 Nov 2024 03:18:26 +0900 Subject: [PATCH] d3d11converter: Fix constant buffer update Fixing regression of https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6434 Part-of: --- .../gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11converter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11converter.cpp b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11converter.cpp index 603f9f521d..8eaebe39b5 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11converter.cpp +++ b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11converter.cpp @@ -2367,7 +2367,7 @@ gst_d3d11_converter_convert_internal (GstD3D11Converter * self, } 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); }