fix GOption context leaks doc fixes
[platform/upstream/gstreamer.git] / gst / gsterror.h
index 53f39fc..e22c35d 100644 (file)
@@ -45,7 +45,6 @@ G_BEGIN_DECLS
  * @GST_CORE_ERROR_STATE_CHANGE: used for state change errors.
  * @GST_CORE_ERROR_PAD: used for pad-related errors.
  * @GST_CORE_ERROR_THREAD: used for thread-related errors.
- * @GST_CORE_ERROR_SCHEDULER: used for scheduler-related errors.
  * @GST_CORE_ERROR_NEGOTIATION: used for negotiation-related errors.
  * @GST_CORE_ERROR_EVENT: used for event-related errors.
  * @GST_CORE_ERROR_SEEK: used for seek-related errors.
@@ -66,7 +65,6 @@ typedef enum
   GST_CORE_ERROR_STATE_CHANGE,
   GST_CORE_ERROR_PAD,
   GST_CORE_ERROR_THREAD,
-  GST_CORE_ERROR_SCHEDULER,
   GST_CORE_ERROR_NEGOTIATION,
   GST_CORE_ERROR_EVENT,
   GST_CORE_ERROR_SEEK,
@@ -187,14 +185,46 @@ typedef enum
   GST_STREAM_ERROR_NUM_ERRORS
 } GstStreamError;
 
-/* This should go away once we convinced glib people to register GError */
 #define GST_TYPE_G_ERROR    (gst_g_error_get_type ())
 
+/**
+ * GST_LIBRARY_ERROR:
+ *
+ * Error domain for library loading. Errors in this domain will
+ * be from the #GstLibraryError enumeration.
+ * See #GError for information on error domains.
+ */
 #define GST_LIBRARY_ERROR   gst_library_error_quark ()
+/**
+ * GST_RESOURCE_ERROR:
+ *
+ * Error domain for resource handling. Errors in this domain will
+ * be from the #GstResourceError enumeration.
+ * See #GError for information on error domains.
+ */
 #define GST_RESOURCE_ERROR  gst_resource_error_quark ()
+/**
+ * GST_CORE_ERROR:
+ *
+ * Error domain for core system. Errors in this domain will
+ * be from the #GstCoreError enumeration.
+ * See #GError for information on error domains.
+ */
 #define GST_CORE_ERROR      gst_core_error_quark ()
+/**
+ * GST_STREAM_ERROR:
+ *
+ * Error domain for media stream processing. Errors in this domain will
+ * be from the #GstStreamError enumeration.
+ * See #GError for information on error domains.
+ */
 #define GST_STREAM_ERROR    gst_stream_error_quark ()
 
+/**
+ * GST_ERROR_SYSTEM:
+ *
+ * Generates an human readable error message out of an errno number.
+ */
 #define GST_ERROR_SYSTEM    ("system error: %s", g_strerror (errno))
 
 GType gst_g_error_get_type (void);