From 7185a7ac9831ef9d3dbe64c963d6637de83c23cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 15 May 2017 14:19:15 +0300 Subject: [PATCH] allocators: Annotate constructors with (transfer floating) GstAllocator is a GstObject and as such uses floating references. https://bugzilla.gnome.org/show_bug.cgi?id=702960 --- gst-libs/gst/allocators/gstdmabuf.c | 2 +- gst-libs/gst/allocators/gstfdmemory.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/allocators/gstdmabuf.c b/gst-libs/gst/allocators/gstdmabuf.c index 7d6bcab8fc..dab1056ecf 100644 --- a/gst-libs/gst/allocators/gstdmabuf.c +++ b/gst-libs/gst/allocators/gstdmabuf.c @@ -62,7 +62,7 @@ gst_dmabuf_allocator_init (GstDmaBufAllocator * allocator) * * Return a new dmabuf allocator. * - * Returns: (transfer full): a new dmabuf allocator, or NULL if the allocator + * Returns: (transfer floating): a new dmabuf allocator, or NULL if the allocator * isn't available. Use gst_object_unref() to release the allocator after * usage * diff --git a/gst-libs/gst/allocators/gstfdmemory.c b/gst-libs/gst/allocators/gstfdmemory.c index ad428a7478..267035b96d 100644 --- a/gst-libs/gst/allocators/gstfdmemory.c +++ b/gst-libs/gst/allocators/gstfdmemory.c @@ -236,7 +236,7 @@ gst_fd_allocator_init (GstFdAllocator * allocator) * * Return a new fd allocator. * - * Returns: (transfer full): a new fd allocator, or NULL if the allocator + * Returns: (transfer floating): a new fd allocator, or NULL if the allocator * isn't available. Use gst_object_unref() to release the allocator after * usage *