pad: annotate GstPadEventFunction event with 'transfer full'
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Fri, 22 Aug 2014 08:32:38 +0000 (10:32 +0200)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 23 Aug 2014 11:21:30 +0000 (12:21 +0100)
The callback is supposed to take ownership of the event so
best to be explicit about it.

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

gst/gstpad.h

index 2ac335c4d03982e6f11cd2fbfc11dd006c8b1adf..feae19fc434b564fc496f6dc7053c569b3569209 100644 (file)
@@ -351,7 +351,7 @@ typedef GstFlowReturn               (*GstPadGetRangeFunction)       (GstPad *pad, GstObject *parent
  * @parent: (allow-none): the parent of @pad. If the #GST_PAD_FLAG_NEED_PARENT
  *          flag is set, @parent is guaranteed to be not-%NULL and remain valid
  *          during the execution of this function.
- * @event: the #GstEvent to handle.
+ * @event: (transfer full): the #GstEvent to handle.
  *
  * Function signature to handle an event for the pad.
  *