diff options
author | René Stadler <rene.stadler@nokia.com> | 2009-04-17 17:59:38 +0300 |
---|---|---|
committer | René Stadler <mail@renestadler.de> | 2009-06-12 18:19:23 +0300 |
commit | c403e4b7f0a66f9387893869754c90ca09de70c9 (patch) | |
tree | 1bf99f04cf09e383d8a4a07515a511ac7a89e5a3 | |
parent | 36bb7c76b1036b20f2e3df1c8a2e3c6cffe0a4c5 (diff) |
Fix remaining --disable-gst-debug ABI breakage.
Fixes #579177.
-rw-r--r-- | gst/gst_private.h | 2 | ||||
-rw-r--r-- | gst/gstinfo.c | 56 |
2 files changed, 57 insertions, 1 deletions
diff --git a/gst/gst_private.h b/gst/gst_private.h index b16242ebaa..0c5bddfae5 100644 --- a/gst/gst_private.h +++ b/gst/gst_private.h @@ -119,7 +119,7 @@ gboolean gst_registry_binary_write_cache (GstRegistry * registry, const char * /*** debugging categories *****************************************************/ -#ifndef GST_DISABLE_GST_DEBUG +#ifndef GST_REMOVE_GST_DEBUG GST_EXPORT GstDebugCategory *GST_CAT_GST_INIT; GST_EXPORT GstDebugCategory *GST_CAT_AUTOPLUG; diff --git a/gst/gstinfo.c b/gst/gstinfo.c index 00121c7c87..65239674eb 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -1639,6 +1639,62 @@ _gst_debug_dump_mem (GstDebugCategory * cat, const gchar * file, #else /* !GST_DISABLE_GST_DEBUG */ #ifndef GST_REMOVE_DISABLED + +gboolean __gst_debug_enabled = FALSE; +GstDebugLevel __gst_debug_min = GST_LEVEL_NONE; + +GstDebugCategory *GST_CAT_DEFAULT = NULL; + +GstDebugCategory *GST_CAT_GST_INIT = NULL; +GstDebugCategory *GST_CAT_AUTOPLUG = NULL; +GstDebugCategory *GST_CAT_AUTOPLUG_ATTEMPT = NULL; +GstDebugCategory *GST_CAT_PARENTAGE = NULL; +GstDebugCategory *GST_CAT_STATES = NULL; +GstDebugCategory *GST_CAT_SCHEDULING = NULL; + +GstDebugCategory *GST_CAT_BUFFER = NULL; +GstDebugCategory *GST_CAT_BUS = NULL; +GstDebugCategory *GST_CAT_CAPS = NULL; +GstDebugCategory *GST_CAT_CLOCK = NULL; +GstDebugCategory *GST_CAT_ELEMENT_PADS = NULL; +GstDebugCategory *GST_CAT_PADS = NULL; +GstDebugCategory *GST_CAT_PIPELINE = NULL; +GstDebugCategory *GST_CAT_PLUGIN_LOADING = NULL; +GstDebugCategory *GST_CAT_PLUGIN_INFO = NULL; +GstDebugCategory *GST_CAT_PROPERTIES = NULL; +GstDebugCategory *GST_CAT_TYPES = NULL; +GstDebugCategory *GST_CAT_XML = NULL; +GstDebugCategory *GST_CAT_NEGOTIATION = NULL; +GstDebugCategory *GST_CAT_REFCOUNTING = NULL; +GstDebugCategory *GST_CAT_ERROR_SYSTEM = NULL; +GstDebugCategory *GST_CAT_EVENT = NULL; +GstDebugCategory *GST_CAT_MESSAGE = NULL; +GstDebugCategory *GST_CAT_PARAMS = NULL; +GstDebugCategory *GST_CAT_CALL_TRACE = NULL; +GstDebugCategory *GST_CAT_SIGNAL = NULL; +GstDebugCategory *GST_CAT_PROBE = NULL; +GstDebugCategory *GST_CAT_REGISTRY = NULL; +GstDebugCategory *GST_CAT_QOS = NULL; + +GstDebugCategory * +_gst_debug_category_new (const gchar * name, guint color, + const gchar * description) +{ + return NULL; +} + +void +_gst_debug_register_funcptr (gpointer func, const gchar * ptrname) +{ +} + +/* This function MUST NOT return NULL */ +const gchar * +_gst_debug_nameof_funcptr (gpointer func) +{ + return "(NULL)"; +} + void gst_debug_log (GstDebugCategory * category, GstDebugLevel level, const gchar * file, const gchar * function, gint line, |