mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
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
This commit is contained in:
parent
e0d793f793
commit
7185a7ac98
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue