:right-sidebar: True StreamError =================================================================== .. currentmodule:: gi.repository.Gst .. class:: StreamError :no-contents-entry: 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 ------- .. rst-class:: interim-class .. class:: StreamError :no-index: .. method:: quark() -> int Fields ------ .. rst-class:: interim-class .. class:: StreamError :no-index: .. attribute:: CODEC_NOT_FOUND Used when there's no codec to handle the stream's type. .. attribute:: DECODE Used when decoding fails. .. attribute:: DECRYPT Used when the stream is encrypted and can't be decrypted because this is not supported by the element. .. attribute:: DECRYPT_NOKEY Used when the stream is encrypted and can't be decrypted because no suitable key is available. .. attribute:: DEMUX Used when demuxing fails. .. attribute:: ENCODE Used when encoding fails. .. attribute:: FAILED A general error which doesn't fit in any other category. Make sure you add a custom message to the error call. .. attribute:: FORMAT Used when the stream is of the wrong format (for example, wrong caps). .. attribute:: MUX Used when muxing fails. .. attribute:: NOT_IMPLEMENTED Use this when you do not want to implement this functionality yet. .. attribute:: NUM_ERRORS The number of stream error types. .. attribute:: TOO_LAZY Do not use this except as a placeholder for deciding where to go while developing code. .. attribute:: TYPE_NOT_FOUND Used when the element doesn't know the stream's type. .. attribute:: WRONG_TYPE Used when the element doesn't handle this type of stream.