Element.changeState

Perform transition on element.

This function must be called with STATE_LOCK held and is mainly used internally.

Parameters

transitionthe requested transition

Returns

the #GstStateChangeReturn of the state transition.