Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/GStreamer/gstreamer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2017-12-20 19:09:28 +0300
committerSebastian Dröge <sebastian@centricular.com>2018-01-17 17:03:09 +0300
commit735eb25def73c57977c57d11ea4669353515a4d6 (patch)
tree874fed34bafc0835cceb85d9c1884d2674506c56
parent5a01b35e80b6c528fad2070303f37ee90131cf6c (diff)
element: Annotate set_bus() bus parameter as allow-none
It's possible to replace the bus with NULL/None
-rw-r--r--gst/gstelement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstelement.c b/gst/gstelement.c
index bf579b48f3..6cbedee5a6 100644
--- a/gst/gstelement.c
+++ b/gst/gstelement.c
@@ -3145,7 +3145,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.