Gst.Element.prototype.change_state
function change_state(transition:Gst.StateChange):Gst.StateChangeReturn {
// Gjs wrapper for gst_element_change_state()
}Perform transition on element.
This function must be called with STATE_LOCK held and is mainly used internally.
- transition
the requested transition
- Returns
the Gst.StateChangeReturn of the state transition.