mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-13 02:45:35 +00:00
element: Annotate set_bus() bus parameter as allow-none
It's possible to replace the bus with NULL/None
This commit is contained in:
parent
07d3f58fcd
commit
e16e55ed04
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue