From a647d832671eba2001c12a7061ccde5996ebe47e Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 22 Aug 2014 10:32:38 +0200 Subject: [PATCH] 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 --- gst/gstpad.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstpad.h b/gst/gstpad.h index 2ac335c4d0..feae19fc43 100644 --- a/gst/gstpad.h +++ b/gst/gstpad.h @@ -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. *