diff --git a/ChangeLog b/ChangeLog index dbcbce0c91f081fadc55dfeba64845ddd585f1f1..557d2159f89c4c9177f83669762d0ee6cef8ffbf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2006-03-04 Tim-Philipp Müller + + * gst/gsterror.c: (_gst_resource_errors_init): + * gst/gsterror.h: + Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352; + patch by: Ross Burton ). + 2006-03-03 Jan Schmidt * gst/gst.c: diff --git a/gst/gsterror.c b/gst/gsterror.c index bb3aa48236cf6e570f74b774e654ca6acaeab9aa..3f7087147b729b12a3c5f77702118a3530c06ce2 100644 --- a/gst/gsterror.c +++ b/gst/gsterror.c @@ -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; } diff --git a/gst/gsterror.h b/gst/gsterror.h index ea48330f2c22fdb016f94c9b90ad7174183412c5..1fa09a64df653068d6644e437f92638497a09607 100644 --- a/gst/gsterror.h +++ b/gst/gsterror.h @@ -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;