projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae74a1a
)
pad: annotate GstPadEventFunction event with 'transfer full'
author
Guillaume Desmottes
<guillaume.desmottes@collabora.co.uk>
Fri, 22 Aug 2014 08:32:38 +0000
(10:32 +0200)
committer
Tim-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
patch
|
blob
|
history
diff --git
a/gst/gstpad.h
b/gst/gstpad.h
index 2ac335c4d03982e6f11cd2fbfc11dd006c8b1adf..feae19fc434b564fc496f6dc7053c569b3569209 100644
(file)
--- 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.
*