diff --git a/ChangeLog b/ChangeLog index 5f9916bffc..361e0f8f7e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-04-12 Tim-Philipp Müller + + * gst/gsterror.c: (_gst_core_errors_init): + * gst/gsterror.h: + API: add GST_CORE_ERROR_DISABLED (#392804). + 2007-04-12 Thomas Vander Stichele * docs/faq/gst-uninstalled: diff --git a/gst/gsterror.c b/gst/gsterror.c index 7577e39ecd..a80bdb8535 100644 --- a/gst/gsterror.c +++ b/gst/gsterror.c @@ -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; } diff --git a/gst/gsterror.h b/gst/gsterror.h index 737df853b2..39d559c2f9 100644 --- a/gst/gsterror.h +++ b/gst/gsterror.h @@ -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;