collectpads: fix g-i annotation for GstCollectPadsBufferFunction
authorTim-Philipp Müller <tim@centricular.net>
Sat, 20 Oct 2012 18:44:43 +0000 (19:44 +0100)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 20 Oct 2012 18:44:43 +0000 (19:44 +0100)
We pass ownership of the buffer to the function.

libs/gst/base/gstcollectpads.h

index 79b7fa4..c33ca4f 100644 (file)
@@ -147,7 +147,7 @@ typedef GstFlowReturn (*GstCollectPadsFunction) (GstCollectPads *pads, gpointer
  * GstCollectPadsBufferFunction:
  * @pads: the #GstCollectPads that trigered the callback
  * @data: the #GstCollectData of pad that has received the buffer
- * @buffer: the #GstBuffer
+ * @buffer: (transfer full): the #GstBuffer
  * @user_data: user data passed to gst_collect_pads_set_buffer_function()
  *
  * A function that will be called when a (considered oldest) buffer can be muxed.