d3d11: Remove non-existing gst_d3d11_memory_get_type() API from header
authorSebastian Dröge <sebastian@centricular.com>
Mon, 21 Feb 2022 12:17:11 +0000 (14:17 +0200)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Mon, 21 Feb 2022 21:26:43 +0000 (21:26 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1764>

subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.cpp
subprojects/gst-plugins-bad/gst-libs/gst/d3d11/gstd3d11memory.h

index 9c64da7..a0d41e8 100644 (file)
@@ -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)
 {
index d3be112..d0f5f1f 100644 (file)
@@ -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())
@@ -168,9 +167,6 @@ struct _GstD3D11Memory
 };
 
 GST_D3D11_API
-GType                      gst_d3d11_memory_get_type (void);
-
-GST_D3D11_API
 void                       gst_d3d11_memory_init_once (void);
 
 GST_D3D11_API