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
(from parent 1:
07d3f58
)
element: Annotate set_bus() bus parameter as allow-none
author
Sebastian Dröge
<sebastian@centricular.com>
Wed, 20 Dec 2017 16:09:28 +0000
(18:09 +0200)
committer
Sebastian Dröge
<sebastian@centricular.com>
Wed, 20 Dec 2017 16:09:28 +0000
(18:09 +0200)
It's possible to replace the bus with NULL/None
gst/gstelement.c
patch
|
blob
|
history
diff --git
a/gst/gstelement.c
b/gst/gstelement.c
index
132dab1
..
d4b2bb3
100644
(file)
--- a/
gst/gstelement.c
+++ b/
gst/gstelement.c
@@
-3354,7
+3354,7
@@
gst_element_set_bus_func (GstElement * element, GstBus * bus)
/**
* gst_element_set_bus:
* @element: a #GstElement to set the bus of.
- * @bus: (transfer none): the #GstBus to set.
+ * @bus: (transfer none)
(allow-none)
: the #GstBus to set.
*
* Sets the bus of the element. Increases the refcount on the bus.
* For internal use only, unless you're testing elements.