mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 18:21:04 +00:00
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:
parent
ae74a1a83a
commit
a647d83267
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in a new issue