From 8ab1c5791b44c9687b4fb3206f4d00967644e99b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 21 Feb 2022 14:17:11 +0200 Subject: [PATCH] d3d11: Remove non-existing gst_d3d11_memory_get_type() API from header Part-of: --- .../gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.cpp | 2 -- .../gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.h | 4 ---- 2 files changed, 6 deletions(-) diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.cpp b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.cpp index 9c64da7b15..a0d41e8f3e 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.cpp +++ b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.cpp @@ -273,8 +273,6 @@ struct _GstD3D11MemoryPrivate gint cpu_map_count; }; -GST_DEFINE_MINI_OBJECT_TYPE (GstD3D11Memory, gst_d3d11_memory); - static inline D3D11_MAP gst_d3d11_map_flags_to_d3d11 (GstMapFlags flags) { diff --git a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.h b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.h index d3be11227a..d0f5f1fff8 100644 --- a/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.h +++ b/subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.h @@ -31,7 +31,6 @@ G_BEGIN_DECLS #define GST_TYPE_D3D11_ALLOCATION_PARAMS (gst_d3d11_allocation_params_get_type()) -#define GST_TYPE_D3D11_MEMORY (gst_d3d11_memory_get_type()) #define GST_D3D11_MEMORY_CAST(obj) ((GstD3D11Memory *)obj) #define GST_TYPE_D3D11_ALLOCATOR (gst_d3d11_allocator_get_type()) @@ -167,9 +166,6 @@ struct _GstD3D11Memory gpointer _gst_reserved[GST_PADDING]; }; -GST_D3D11_API -GType gst_d3d11_memory_get_type (void); - GST_D3D11_API void gst_d3d11_memory_init_once (void);