GstResourceError

Resource errors are for any resource used by an element: memory, files, network connections, process space, ... They're typically used by source and sink elements.

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_FOUND3

used when the resource could not be found.

BUSY4

used when resource is busy.

OPEN_READ5

used when resource fails to open for reading.

OPEN_WRITE6

used when resource fails to open for writing.

OPEN_READ_WRITE7

used when resource cannot be opened for both reading and writing, or either (but unspecified which).

CLOSE8

used when the resource can't be closed.

READ9

used when the resource can't be read from.

WRITE10

used when the resource can't be written to.

SEEK11

used when a seek on the resource fails.

SYNC12

used when a synchronize on the resource fails.

SETTINGS13

used when settings can't be manipulated on.

NO_SPACE_LEFT14

used when the resource has no space left.

NOT_AUTHORIZED15

used when the resource can't be opened due to missing authorization. Since: 1.2.4

NUM_ERRORS16

the number of resource error types.

Meta