From: René Stadler Date: Fri, 17 Apr 2009 14:59:38 +0000 (+0300) Subject: Fix remaining --disable-gst-debug ABI breakage. X-Git-Tag: RELEASE-0.10.24~113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c403e4b7f0a66f9387893869754c90ca09de70c9;p=platform%2Fupstream%2Fgstreamer.git Fix remaining --disable-gst-debug ABI breakage. Fixes #579177. --- 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,