docs: gst_dmabuf_allocator_alloc: Improve documentation

https://bugzilla.gnome.org/show_bug.cgi?id=739545
This commit is contained in:
William Manley 2014-10-22 13:37:40 +01:00 committed by Nicolas Dufresne
parent 2f38f83c08
commit c97f10d7d8

View file

@ -294,7 +294,9 @@ gst_dmabuf_allocator_alloc (GstAllocator * allocator, gint fd, gsize size)
*
* Return the file descriptor associated with @mem.
*
* Returns: the file descriptor associated with the memory, or -1
* Returns: the file descriptor associated with the memory, or -1. The file
* descriptor is still owned by the GstMemory. Use dup to take a copy
* if you intend to use it beyond the lifetime of this GstMemory.
*
* Since: 1.2
*/