dmabuf: remove 'allow-none' annotation in gst_dmabuf_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_dmabuf_allocator_alloc() ensure that passed allocator is a DMABuf
allocator, so that we can't pass NULL allocator.

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

gst-libs/gst/allocators/gstdmabuf.c

index 785a076..4c9724e 100644 (file)
@@ -91,7 +91,7 @@ gst_dmabuf_allocator_new (void)
 
 /**
  * gst_dmabuf_allocator_alloc:
- * @allocator: (allow-none): allocator to be used for this memory
+ * @allocator: allocator to be used for this memory
  * @fd: dmabuf file descriptor
  * @size: memory size
  *