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
@ -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…
x
Reference in New Issue
Block a user