From 04d58371e262eb26d34dac99e796ca68a9884824 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Sat, 4 Mar 2006 13:54:26 +0000 Subject: [PATCH] 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 ). --- ChangeLog | 7 +++++++ gst/gsterror.c | 1 + gst/gsterror.h | 4 +++- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index dbcbce0c91..557d2159f8 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 bb3aa48236..3f7087147b 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 ea48330f2c..1fa09a64df 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; -- GitLab