Element.setBus

Sets the bus of the element. Increases the refcount on the bus. For internal use only, unless you're testing elements.

MT safe.

class Element
void
setBus
(
gst.bus.Bus bus = null
)

Parameters

bus gst.bus.Bus

the #GstBus to set.