mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
gst/gsterror.*: New error category.
Original commit message from CVS: 2005-11-21 Andy Wingo <wingo@pobox.com> * gst/gsterror.c (_gst_core_errors_init): * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error category.
This commit is contained in:
parent
169841756a
commit
102575f27e
3 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
2005-11-21 Andy Wingo <wingo@pobox.com>
|
||||
|
||||
* gst/gsterror.c (_gst_core_errors_init):
|
||||
* gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
|
||||
category.
|
||||
|
||||
* gst/Makefile.am (gst_headers): Add glib-compat.h.
|
||||
(noinst_HEADERS): noinst the -private.
|
||||
|
||||
|
|
|
@ -149,6 +149,8 @@ _gst_core_errors_init (void)
|
|||
TABLE (t, CORE, CAPS,
|
||||
N_("Internal GStreamer error: caps problem." FILE_A_BUG));
|
||||
TABLE (t, CORE, TAG, N_("Internal GStreamer error: tag problem." FILE_A_BUG));
|
||||
TABLE (t, CORE, MISSING_PLUGIN,
|
||||
N_("Your GStreamer installation is missing a plug-in."));
|
||||
|
||||
return t;
|
||||
}
|
||||
|
|
|
@ -50,6 +50,7 @@ G_BEGIN_DECLS
|
|||
* @GST_CORE_ERROR_SEEK: used for seek-related errors.
|
||||
* @GST_CORE_ERROR_CAPS: used for caps-related errors.
|
||||
* @GST_CORE_ERROR_TAG: used for negotiation-related errors.
|
||||
* @GST_CORE_ERROR_MISSING_PLUGIN: used if a plugin is missing.
|
||||
* @GST_CORE_ERROR_NUM_ERRORS: the number of core error types.
|
||||
*
|
||||
* Core errors are errors inside the core GStreamer library.
|
||||
|
@ -69,6 +70,7 @@ typedef enum
|
|||
GST_CORE_ERROR_SEEK,
|
||||
GST_CORE_ERROR_CAPS,
|
||||
GST_CORE_ERROR_TAG,
|
||||
GST_CORE_ERROR_MISSING_PLUGIN,
|
||||
GST_CORE_ERROR_NUM_ERRORS
|
||||
} GstCoreError;
|
||||
|
||||
|
|
Loading…
Reference in a new issue