pad: annotate GstPadEventFunction event with 'transfer full'

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
This commit is contained in:
Guillaume Desmottes 2014-08-22 10:32:38 +02:00 committed by Tim-Philipp Müller
parent ae74a1a83a
commit a647d83267

View 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 * @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 * flag is set, @parent is guaranteed to be not-%NULL and remain valid
* during the execution of this function. * 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. * Function signature to handle an event for the pad.
* *