From 66b35a984db2952e94cf12c0e8417b85c437d247 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Mon, 26 May 2025 18:24:01 +0900 Subject: [PATCH] d3d12memory: Make D3D12 map flags inspectable GIR scanner does not seem to be able to infer integer value Part-of: --- .../gst-plugins-bad/gst-libs/gst/d3d12/gstd3d12memory.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/d3d12/gstd3d12memory.h b/subprojects/gst-plugins-bad/gst-libs/gst/d3d12/gstd3d12memory.h index 53e9c9578d..627e44290d 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/d3d12/gstd3d12memory.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/d3d12/gstd3d12memory.h @@ -64,7 +64,7 @@ G_BEGIN_DECLS #define GST_CAPS_FEATURE_MEMORY_D3D12_MEMORY "memory:D3D12Memory" /** - * GST_MAP_D3D12: + * GST_MAP_D3D12: (value 131072) (type GstMapFlags) * * Flag indicating that we should map the D3D12 resource instead of to system memory. * @@ -73,7 +73,7 @@ G_BEGIN_DECLS #define GST_MAP_D3D12 ((GstMapFlags) (GST_MAP_FLAG_LAST << 1)) /** - * GST_MAP_READ_D3D12: + * GST_MAP_READ_D3D12: (value 131073) (type GstMapFlags) * * GstMapFlags value alias for GST_MAP_READ | GST_MAP_D3D12 * @@ -82,7 +82,7 @@ G_BEGIN_DECLS #define GST_MAP_READ_D3D12 ((GstMapFlags) (GST_MAP_READ | GST_MAP_D3D12)) /** - * GST_MAP_WRITE_D3D12: + * GST_MAP_WRITE_D3D12: (value 131074) (type GstMapFlags) * * GstMapFlags value alias for GST_MAP_WRITE | GST_MAP_D3D12 *