fdmemory: remove 'allow-none' annotation in gst_fd_allocator_alloc() doc
authorAurélien Zanelli <aurelien.zanelli@parrot.com>
Thu, 10 Sep 2015 13:08:35 +0000 (15:08 +0200)
committerNicolas Dufresne <nicolas.dufresne@collabora.co.uk>
Wed, 23 Sep 2015 14:01:41 +0000 (10:01 -0400)
gst_fd_allocator_alloc() ensure that passed allocator is a fd memory
allocator, so that we can't pass NULL allocator.

https://bugzilla.gnome.org/show_bug.cgi?id=754833

gst-libs/gst/allocators/gstfdmemory.c

index 4f2348d..3072086 100644 (file)
@@ -232,7 +232,7 @@ gst_fd_allocator_new (void)
 
 /**
  * gst_fd_allocator_alloc:
- * @allocator: (allow-none): allocator to be used for this memory
+ * @allocator: allocator to be used for this memory
  * @fd: file descriptor
  * @size: memory size
  * @flags: extra #GstFdMemoryFlags