Gst.Element.prototype.set_bus
function set_bus(bus:Gst.Bus):void {
// Gjs wrapper for gst_element_set_bus()
}Sets the bus of the element. Increases the refcount on the bus. For internal use only, unless you're testing elements.
MT safe.
- bus
the Gst.Bus to set.