gst/gsterror.*: API: add GST_CORE_ERROR_DISABLED (#392804).

Original commit message from CVS:
* gst/gsterror.c: (_gst_core_errors_init):
* gst/gsterror.h:
API: add GST_CORE_ERROR_DISABLED (#392804).
This commit is contained in:
Tim-Philipp Müller 2007-04-12 12:59:49 +00:00
parent c0b13c07ee
commit e28b310a73
3 changed files with 12 additions and 0 deletions

View file

@ -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:

View 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;
}

View 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;