diff options
Diffstat (limited to 'gst-libs/gst/vulkan/gstvkdescriptorcache.h')
-rw-r--r-- | gst-libs/gst/vulkan/gstvkdescriptorcache.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gst-libs/gst/vulkan/gstvkdescriptorcache.h b/gst-libs/gst/vulkan/gstvkdescriptorcache.h index dd996cd7a..dc8bf4ce6 100644 --- a/gst-libs/gst/vulkan/gstvkdescriptorcache.h +++ b/gst-libs/gst/vulkan/gstvkdescriptorcache.h @@ -35,7 +35,7 @@ GType gst_vulkan_descriptor_cache_get_type (void); /** * GstVulkanDescriptorCache: - * @parent: the parent #GstObject + * @parent: the parent #GstVulkanHandlePool * @pool: the #GstVulkanDescriptorPool to cache descriptor sets for * * Since: 1.18 @@ -64,6 +64,8 @@ struct _GstVulkanDescriptorCacheClass gpointer _reserved [GST_PADDING]; }; +G_DEFINE_AUTOPTR_CLEANUP_FUNC (GstVulkanDescriptorCache, gst_object_unref) + GST_VULKAN_API GstVulkanDescriptorCache * gst_vulkan_descriptor_cache_new (GstVulkanDescriptorPool * pool, guint n_layouts, |