info: add new locking debug category

This commit is contained in:
Wim Taymans 2012-07-04 16:04:28 +02:00
parent 4b322e37f8
commit afd5db3c6b
2 changed files with 4 additions and 0 deletions

View file

@ -204,6 +204,7 @@ GST_EXPORT GstDebugCategory *GST_CAT_PROBE;
GST_EXPORT GstDebugCategory *GST_CAT_REGISTRY;
GST_EXPORT GstDebugCategory *GST_CAT_QOS;
GST_EXPORT GstDebugCategory *GST_CAT_META;
GST_EXPORT GstDebugCategory *GST_CAT_LOCKING;
/* Categories that should be completely private to
* libgstreamer should be done like this: */
@ -245,6 +246,7 @@ extern GstDebugCategory *_priv_GST_CAT_POLL;
#define GST_CAT_TYPES NULL
#define GST_CAT_POLL NULL
#define GST_CAT_META NULL
#define GST_CAT_LOCKING NULL
#endif

View file

@ -169,6 +169,7 @@ GstDebugCategory *GST_CAT_REGISTRY = NULL;
GstDebugCategory *GST_CAT_QOS = NULL;
GstDebugCategory *_priv_GST_CAT_POLL = NULL;
GstDebugCategory *GST_CAT_META = NULL;
GstDebugCategory *GST_CAT_LOCKING = NULL;
#endif /* !defined(GST_DISABLE_GST_DEBUG) || !defined(GST_REMOVE_DISABLED) */
@ -407,6 +408,7 @@ _priv_gst_debug_init (void)
GST_CAT_QOS = _gst_debug_category_new ("GST_QOS", 0, "QoS");
_priv_GST_CAT_POLL = _gst_debug_category_new ("GST_POLL", 0, "poll");
GST_CAT_META = _gst_debug_category_new ("GST_META", 0, "meta");
GST_CAT_LOCKING = _gst_debug_category_new ("GST_LOCKING", 0, "locking");
/* print out the valgrind message if we're in valgrind */