From afd5db3c6bea27a8235c45217afa3c2a36a0a6a8 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 4 Jul 2012 16:04:28 +0200 Subject: [PATCH] info: add new locking debug category --- gst/gst_private.h | 2 ++ gst/gstinfo.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gst/gst_private.h b/gst/gst_private.h index 18bfa89..1d66725 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 f6ca818..67086fc 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 */ -- 2.7.4