GstFlowReturn

The result of passing data to a pad.

Note that the custom return values should not be exposed outside of the element scope.

Values

ValueMeaning
CustomSuccess2102

Pre-defined custom success code.

CustomSuccess1101

Pre-defined custom success code (define your custom success code to this to avoid compiler warnings).

CustomSuccess100

Elements can use values starting from this (and higher) to define custom success codes.

Ok0

Data passing was ok.

NotLinked-1

Pad is not linked.

Flushing-2

Pad is flushing.

Eos-3

Pad is EOS.

NotNegotiated-4

Pad is not negotiated.

Error-5

Some (fatal) error occurred. Element generating this error should post an error message using GST_ELEMENT_ERROR() with more details.

NotSupported-6

This operation is not supported.

CustomError-100

Elements can use values starting from this (and lower) to define custom error codes.

CustomError1-101

Pre-defined custom error code (define your custom error code to this to avoid compiler warnings).

CustomError2-102

Pre-defined custom error code.