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.
GST_RESOURCE_ERROR_FAILED
a general error which doesn't fit in any other
category. Make sure you add a custom message to the error call.
GST_RESOURCE_ERROR_TOO_LAZY
do not use this except as a placeholder for
deciding where to go while developing code.
GST_RESOURCE_ERROR_NOT_FOUND
used when the resource could not be found.
GST_RESOURCE_ERROR_BUSY
used when resource is busy.
GST_RESOURCE_ERROR_OPEN_READ
used when resource fails to open for reading.
GST_RESOURCE_ERROR_OPEN_WRITE
used when resource fails to open for writing.
GST_RESOURCE_ERROR_OPEN_READ_WRITE
used when resource cannot be opened for
both reading and writing, or either (but unspecified which).
GST_RESOURCE_ERROR_CLOSE
used when the resource can't be closed.
GST_RESOURCE_ERROR_READ
used when the resource can't be read from.
GST_RESOURCE_ERROR_WRITE
used when the resource can't be written to.
GST_RESOURCE_ERROR_SEEK
used when a seek on the resource fails.
GST_RESOURCE_ERROR_SYNC
used when a synchronize on the resource fails.
GST_RESOURCE_ERROR_SETTINGS
used when settings can't be manipulated on.
GST_RESOURCE_ERROR_NO_SPACE_LEFT
used when the resource has no space left.
GST_RESOURCE_ERROR_NUM_ERRORS
the number of resource error types.
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. GST_RESOURCE_ERROR_FAILED a general error which doesn't fit in any other category. Make sure you add a custom message to the error call. GST_RESOURCE_ERROR_TOO_LAZY do not use this except as a placeholder for deciding where to go while developing code. GST_RESOURCE_ERROR_NOT_FOUND used when the resource could not be found. GST_RESOURCE_ERROR_BUSY used when resource is busy. GST_RESOURCE_ERROR_OPEN_READ used when resource fails to open for reading. GST_RESOURCE_ERROR_OPEN_WRITE used when resource fails to open for writing. GST_RESOURCE_ERROR_OPEN_READ_WRITE used when resource cannot be opened for both reading and writing, or either (but unspecified which). GST_RESOURCE_ERROR_CLOSE used when the resource can't be closed. GST_RESOURCE_ERROR_READ used when the resource can't be read from. GST_RESOURCE_ERROR_WRITE used when the resource can't be written to. GST_RESOURCE_ERROR_SEEK used when a seek on the resource fails. GST_RESOURCE_ERROR_SYNC used when a synchronize on the resource fails. GST_RESOURCE_ERROR_SETTINGS used when settings can't be manipulated on. GST_RESOURCE_ERROR_NO_SPACE_LEFT used when the resource has no space left. GST_RESOURCE_ERROR_NUM_ERRORS the number of resource error types.