GstStreamError

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

Values

ValueMeaning
FAILED1

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

TOO_LAZY2

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

NOT_IMPLEMENTED3

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

TYPE_NOT_FOUND4

used when the element doesn't know the stream's type.

WRONG_TYPE5

used when the element doesn't handle this type of stream.

CODEC_NOT_FOUND6

used when there's no codec to handle the stream's type.

DECODE7

used when decoding fails.

ENCODE8

used when encoding fails.

DEMUX9

used when demuxing fails.

MUX10

used when muxing fails.

FORMAT11

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

DECRYPT12

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

DECRYPT_NOKEY13

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

NUM_ERRORS14

the number of stream error types.