Message.newStateChanged

Create a state change message. This message is posted whenever an element changed its state.

Parameters

src gst.object.ObjectGst

The object originating the message.

oldstate gst.types.State

the previous state

newstate gst.types.State

the new (current) state

pending gst.types.State

the pending (target) state

Return Value

Type: gst.message.Message

the new state change message.

MT safe.