vulkan: remove unneeded #ifdef for GAutoPtr

Not necessary anymore as we depend on a new enough Glib version

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2470>
This commit is contained in:
Matthew Waters 2022-05-17 16:32:09 +10:00 committed by GStreamer Marge Bot
parent 81e601ccaa
commit a5e4199e88

View file

@ -117,9 +117,7 @@ gst_clear_vulkan_image_view (GstVulkanImageView ** view_ptr)
gst_clear_mini_object ((GstMiniObject **) view_ptr); gst_clear_mini_object ((GstMiniObject **) view_ptr);
} }
#ifdef G_DEFINE_AUTOPTR_CLEANUP_FUNC
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVulkanImageView, gst_vulkan_image_view_unref) G_DEFINE_AUTOPTR_CLEANUP_FUNC(GstVulkanImageView, gst_vulkan_image_view_unref)
#endif
GST_VULKAN_API GST_VULKAN_API
GstVulkanImageView * gst_vulkan_image_view_new (GstVulkanImageMemory * image, GstVulkanImageView * gst_vulkan_image_view_new (GstVulkanImageMemory * image,