Message.newError

Create a new error message. The message will copy error and debug. This message is posted by element when a fatal event occured. The pipeline will probably (partially) stop. The application receiving this message should stop the pipeline. MT safe.

class Message
static
newError

Parameters

src ObjectGst

The object originating the message.

error ErrorG

The GError for this message.

Return Value

Type: Message

The new error message.