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, ... GST_STREAM_ERROR_FAILED a general error which doesn't fit in any other category. Make sure you add a custom message to the error call. GST_STREAM_ERROR_TOO_LAZY do not use this except as a placeholder for deciding where to go while developing code. GST_STREAM_ERROR_NOT_IMPLEMENTED use this when you do not want to implement this functionality yet. GST_STREAM_ERROR_TYPE_NOT_FOUND used when the element doesn't know the stream's type. GST_STREAM_ERROR_WRONG_TYPE used when the element doesn't handle this type of stream. GST_STREAM_ERROR_CODEC_NOT_FOUND used when there's no codec to handle the stream's type. GST_STREAM_ERROR_DECODE used when decoding fails. GST_STREAM_ERROR_ENCODE used when encoding fails. GST_STREAM_ERROR_DEMUX used when demuxing fails. GST_STREAM_ERROR_MUX used when muxing fails. GST_STREAM_ERROR_FORMAT used when the stream is of the wrong format (for example, wrong caps). GST_STREAM_ERROR_DECRYPT used when the stream is encrypted and can't be decrypted because this is not supported by the element. GST_STREAM_ERROR_DECRYPT_NOKEY used when the stream is encrypted and can't be decrypted because no suitable key is available. GST_STREAM_ERROR_NUM_ERRORS the number of stream error types.

Values

ValueMeaning
FAILED1
TOO_LAZY
NOT_IMPLEMENTED
TYPE_NOT_FOUND
WRONG_TYPE
CODEC_NOT_FOUND
DECODE
ENCODE
DEMUX
MUX
FORMAT
DECRYPT
DECRYPT_NOKEY
NUM_ERRORS

Meta