Commit 04d58371 authored by Ross Burton's avatar Ross Burton Committed by Tim-Philipp Müller

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>).
parent 47304efe
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> 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
* gst/gst.c: * gst/gst.c:
......
...@@ -203,6 +203,7 @@ _gst_resource_errors_init (void) ...@@ -203,6 +203,7 @@ _gst_resource_errors_init (void)
TABLE (t, RESOURCE, SYNC, N_("Could not synchronize on resource.")); TABLE (t, RESOURCE, SYNC, N_("Could not synchronize on resource."));
TABLE (t, RESOURCE, SETTINGS, TABLE (t, RESOURCE, SETTINGS,
N_("Could not get/set settings from/on resource.")); N_("Could not get/set settings from/on resource."));
TABLE (t, RESOURCE, NO_SPACE_LEFT, N_("No space left on the resource."));
return t; return t;
} }
......
...@@ -119,7 +119,8 @@ typedef enum ...@@ -119,7 +119,8 @@ typedef enum
* @GST_RESOURCE_ERROR_WRITE: used when the resource can't be written to. * @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_SEEK: used when a seek on the resource fails.
* @GST_RESOURCE_ERROR_SYNC: used when a synchronize 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. * @GST_RESOURCE_ERROR_NUM_ERRORS: the number of library error types.
* *
* Resource errors are for any resource used by an element: * Resource errors are for any resource used by an element:
...@@ -141,6 +142,7 @@ typedef enum ...@@ -141,6 +142,7 @@ typedef enum
GST_RESOURCE_ERROR_SEEK, GST_RESOURCE_ERROR_SEEK,
GST_RESOURCE_ERROR_SYNC, GST_RESOURCE_ERROR_SYNC,
GST_RESOURCE_ERROR_SETTINGS, GST_RESOURCE_ERROR_SETTINGS,
GST_RESOURCE_ERROR_NO_SPACE_LEFT,
GST_RESOURCE_ERROR_NUM_ERRORS GST_RESOURCE_ERROR_NUM_ERRORS
} GstResourceError; } GstResourceError;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment