Message.newCustom

Create a new custom-typed message. This can be used for anything not handled by other message-specific functions to pass a message to the app. The structure field can be null.

Parameters

type gst.types.MessageType

The #GstMessageType to distinguish messages

src gst.object.ObjectGst

The object originating the message.

structure gst.structure.Structure

the structure for the message. The message will take ownership of the structure.

Return Value

Type: gst.message.Message

The new message.

MT safe.