StreamError#

class StreamError#

Stream errors are for anything related to the stream being processed: format errors, media type errors, … They’re typically used by decoders, demuxers, converters, …

Methods#

class StreamError
quark() int#

Fields#

class StreamError
CODEC_NOT_FOUND#

Used when there’s no codec to handle the stream’s type.

DECODE#

Used when decoding fails.

DECRYPT#

Used when the stream is encrypted and can’t be decrypted because this is not supported by the element.

DECRYPT_NOKEY#

Used when the stream is encrypted and can’t be decrypted because no suitable key is available.

DEMUX#

Used when demuxing fails.

ENCODE#

Used when encoding fails.

FAILED#

A general error which doesn’t fit in any other category. Make sure you add a custom message to the error call.

FORMAT#

Used when the stream is of the wrong format (for example, wrong caps).

MUX#

Used when muxing fails.

NOT_IMPLEMENTED#

Use this when you do not want to implement this functionality yet.

NUM_ERRORS#

The number of stream error types.

TOO_LAZY#

Do not use this except as a placeholder for deciding where to go while developing code.

TYPE_NOT_FOUND#

Used when the element doesn’t know the stream’s type.

WRONG_TYPE#

Used when the element doesn’t handle this type of stream.