gst/gsterror.*: Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
authorRoss Burton <ross@burtonini.com>
Sat, 4 Mar 2006 13:54:26 +0000 (13:54 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Sat, 4 Mar 2006 13:54:26 +0000 (13:54 +0000)
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>).

ChangeLog
gst/gsterror.c
gst/gsterror.h

index dbcbce0..557d215 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index bb3aa48..3f70871 100644 (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;
 }
index ea48330..1fa09a6 100644 (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;