summaryrefslogtreecommitdiff
path: root/gst-libs/gst/vulkan/gstvkdevice.h
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>2021-03-05 09:18:15 +0100
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>2021-07-12 05:08:09 +0000
commitc22ae0700be432d0ddbf08a8e2c1abbc23881f7d (patch)
tree00c1d24c3db6e07359606d4473bb449c7426062d /gst-libs/gst/vulkan/gstvkdevice.h
parent9c3363a25d5218642ef9f3270fb4d95ae5283f2d (diff)
downloadgstreamer-plugins-bad-c22ae0700be432d0ddbf08a8e2c1abbc23881f7d.tar.gz
vulkan: Declare missing auto-pointer cleanup functions.
Also removed a couple guards since, given the glib dependency, they are set. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2396>
Diffstat (limited to 'gst-libs/gst/vulkan/gstvkdevice.h')
-rw-r--r--gst-libs/gst/vulkan/gstvkdevice.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gst-libs/gst/vulkan/gstvkdevice.h b/gst-libs/gst/vulkan/gstvkdevice.h
index 5f380518a..e48668569 100644
--- a/gst-libs/gst/vulkan/gstvkdevice.h
+++ b/gst-libs/gst/vulkan/gstvkdevice.h
@@ -84,6 +84,8 @@ struct _GstVulkanDeviceClass
gpointer _reserved [GST_PADDING];
};
+G_DEFINE_AUTOPTR_CLEANUP_FUNC (GstVulkanDevice, gst_object_unref)
+
GST_VULKAN_API
GstVulkanDevice * gst_vulkan_device_new (GstVulkanPhysicalDevice * physical_device);
GST_VULKAN_API