ResourceError
Description:
[ CCode ( cprefix = "GST_RESOURCE_ERROR_" , type_id = "gst_resource_error_get_type ()" ) ]
public errordomain ResourceError
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.
Content:
Error codes:
- BUSY - used when resource is busy.
- CLOSE - used when the resource
can't be closed.
- FAILED - a general error which
doesn't fit in any other category.
- NOT_AUTHORIZED - used
when the resource can't be opened due to missing authorization.
- NOT_FOUND - used when the
resource could not be found.
- NO_SPACE_LEFT - used when
the resource has no space left.
- NUM_ERRORS - the number of
resource error types.
- OPEN_READ - used when resource
fails to open for reading.
- OPEN_READ_WRITE - used
when resource cannot be opened for both reading and writing, or either (but unspecified which).
- OPEN_WRITE - used when
resource fails to open for writing.
- READ - used when the resource can't
be read from.
- SEEK - used when a seek on the
resource fails.
- SETTINGS - used when settings
can't be manipulated on.
- SYNC - used when a synchronize on
the resource fails.
- TOO_LAZY - do not use this
except as a placeholder for deciding where to go while developing code.
- WRITE - used when the resource
can't be written to.
Static methods: