bufferpool: sprinkle some allow-none and out annotations for g-i
authorTim-Philipp Müller <tim@centricular.com>
Tue, 15 Sep 2015 17:05:11 +0000 (18:05 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 15 Sep 2015 17:05:43 +0000 (18:05 +0100)
gst/gstbufferpool.c

index bd53092..3bbff34 100644 (file)
@@ -996,8 +996,8 @@ gst_buffer_pool_config_get_params (GstStructure * config, GstCaps ** caps,
 /**
  * gst_buffer_pool_config_get_allocator:
  * @config: (transfer none): a #GstBufferPool configuration
- * @allocator: (transfer none): a #GstAllocator
- * @params: #GstAllocationParams
+ * @allocator: (out) (allow-none) (transfer none): a #GstAllocator, or %NULL
+ * @params: (out) (allow-none): #GstAllocationParams, or %NULL
  *
  * Get the @allocator and @params from @config.
  *