Message.newError

gst.message.Message newError(gst.object.ObjectWrap src, glib.error.ErrorWrap error, string debug_) static nothrow

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

Parameters

srcThe object originating the message.
errorThe GError for this message.
debug_A debugging string.

Returns

the new error message.

MT safe.