diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-07-04 16:04:28 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-07-04 17:56:19 +0200 |
commit | 2d9e648bff82a0ed6d6d893a74132235a87dd446 (patch) | |
tree | 60fb73f4e6eaa6bf40a63ff45a284e6bda09bd0d | |
parent | 86d5ca710eb056e89959871d5b4eb0af7934a67e (diff) |
info: add new locking debug category
-rw-r--r-- | gst/gst_private.h | 2 | ||||
-rw-r--r-- | gst/gstinfo.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gst/gst_private.h b/gst/gst_private.h index 18bfa899f..1d6672543 100644 --- a/gst/gst_private.h +++ b/gst/gst_private.h @@ -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 diff --git a/gst/gstinfo.c b/gst/gstinfo.c index f6ca81843..67086fcae 100644 --- a/gst/gstinfo.c +++ b/gst/gstinfo.c @@ -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 */ |