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.

TooLazy2

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

NotFound3

used when the resource could not be found.

Busy4

used when resource is busy.

OpenRead5

used when resource fails to open for reading.

OpenWrite6

used when resource fails to open for writing.

OpenReadWrite7

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.

NoSpaceLeft14

used when the resource has no space left.

NotAuthorized15

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

NumErrors16

the number of resource error types.