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);