gst/gsterror.*: API: add GST_CORE_ERROR_DISABLED (#392804).
authorTim-Philipp Müller <tim@centricular.net>
Thu, 12 Apr 2007 12:59:49 +0000 (12:59 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Thu, 12 Apr 2007 12:59:49 +0000 (12:59 +0000)
Original commit message from CVS:
* gst/gsterror.c: (_gst_core_errors_init):
* gst/gsterror.h:
API: add GST_CORE_ERROR_DISABLED (#392804).

ChangeLog
gst/gsterror.c
gst/gsterror.h

index 5f9916b..361e0f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-12  Tim-Philipp Müller  <tim at centricular dot net>
+
+       * gst/gsterror.c: (_gst_core_errors_init):
+       * gst/gsterror.h:
+         API: add GST_CORE_ERROR_DISABLED (#392804).
+
 2007-04-12  Thomas Vander Stichele  <thomas at apestaart dot org>
 
        * docs/faq/gst-uninstalled:
index 7577e39..a80bdb8 100644 (file)
@@ -160,6 +160,9 @@ _gst_core_errors_init (void)
       N_("Your GStreamer installation is missing a plug-in."));
   TABLE (t, CORE, CLOCK,
       N_("Internal GStreamer error: clock problem." FILE_A_BUG));
+  TABLE (t, CORE, DISABLED,
+      N_("This application is trying to use GStreamer functionality that "
+          "has been disabled."));
 
   return t;
 }
index 737df85..39d559c 100644 (file)
@@ -52,6 +52,8 @@ G_BEGIN_DECLS
  * @GST_CORE_ERROR_TAG: used for negotiation-related errors.
  * @GST_CORE_ERROR_MISSING_PLUGIN: used if a plugin is missing.
  * @GST_CORE_ERROR_CLOCK: used for clock related errors.
+ * @GST_CORE_ERROR_DISABLED: used if functionality has been disabled at
+ *                           compile time (Since: 0.10.13).
  * @GST_CORE_ERROR_NUM_ERRORS: the number of core error types.
  *
  * Core errors are errors inside the core GStreamer library.
@@ -73,6 +75,7 @@ typedef enum
   GST_CORE_ERROR_TAG,
   GST_CORE_ERROR_MISSING_PLUGIN,
   GST_CORE_ERROR_CLOCK,
+  GST_CORE_ERROR_DISABLED,
   GST_CORE_ERROR_NUM_ERRORS
 } GstCoreError;