gst/gsterror.*: Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;

Original commit message from CVS:
* gst/gsterror.c: (_gst_resource_errors_init):
* gst/gsterror.h:
Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
patch by: Ross Burton <ross at burtonini dot com>).
This commit is contained in:
Ross Burton 2006-03-04 13:54:26 +00:00 committed by Tim-Philipp Müller
parent 47304efe10
commit 04d58371e2
3 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
* gst/gsterror.c: (_gst_resource_errors_init):
* gst/gsterror.h:
Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
patch by: Ross Burton <ross at burtonini dot com>).
2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gst.c:

View file

@ -203,6 +203,7 @@ _gst_resource_errors_init (void)
TABLE (t, RESOURCE, SYNC, N_("Could not synchronize on resource."));
TABLE (t, RESOURCE, SETTINGS,
N_("Could not get/set settings from/on resource."));
TABLE (t, RESOURCE, NO_SPACE_LEFT, N_("No space left on the resource."));
return t;
}

View file

@ -119,7 +119,8 @@ typedef enum
* @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_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 library error types.
*
* Resource errors are for any resource used by an element:
@ -141,6 +142,7 @@ typedef enum
GST_RESOURCE_ERROR_SEEK,
GST_RESOURCE_ERROR_SYNC,
GST_RESOURCE_ERROR_SETTINGS,
GST_RESOURCE_ERROR_NO_SPACE_LEFT,
GST_RESOURCE_ERROR_NUM_ERRORS
} GstResourceError;