gst/: Added QOS debug category

Original commit message from CVS:
* gst/gst_private.h:
* gst/gstinfo.c: (_gst_debug_init):
Added QOS debug category
This commit is contained in:
Wim Taymans 2006-03-13 11:08:28 +00:00
parent 429ebfff2c
commit ccb9d70195
3 changed files with 12 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-03-13 Wim Taymans <wim@fluendo.com>
* gst/gst_private.h:
* gst/gstinfo.c: (_gst_debug_init):
Added QOS debug category
2006-03-13 Wim Taymans <wim@fluendo.com>
* docs/gst/gstreamer-sections.txt:

View file

@ -74,6 +74,7 @@ extern GstDebugCategory *GST_CAT_CALL_TRACE;
extern GstDebugCategory *GST_CAT_SIGNAL;
extern GstDebugCategory *GST_CAT_PROBE;
extern GstDebugCategory *GST_CAT_REGISTRY;
extern GstDebugCategory *GST_CAT_QOS;
#else
@ -105,6 +106,7 @@ extern GstDebugCategory *GST_CAT_REGISTRY;
#define GST_CAT_SIGNAL NULL
#define GST_CAT_PROBE NULL
#define GST_CAT_REGISTRY NULL
#define GST_CAT_QOS NULL
#endif

View file

@ -188,6 +188,8 @@ static GSList *__log_functions = NULL;
static gint __default_level;
static gint __use_color;
/* enabled by default */
gboolean __gst_debug_enabled = TRUE;
@ -222,6 +224,7 @@ 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;
/* FIXME: export this? */
gboolean
@ -345,6 +348,7 @@ _gst_debug_init (void)
GST_CAT_PROBE = _gst_debug_category_new ("GST_PROBE",
GST_DEBUG_BOLD | GST_DEBUG_FG_GREEN, "pad probes");
GST_CAT_REGISTRY = _gst_debug_category_new ("GST_REGISTRY", 0, "registry");
GST_CAT_QOS = _gst_debug_category_new ("GST_QOS", 0, "QoS");
/* print out the valgrind message if we're in valgrind */
@ -1086,8 +1090,6 @@ gst_debug_category_get_description (GstDebugCategory * category)
* Returns a snapshot of a all categories that are currently in use . This list
* may change anytime.
* The caller has to free the list after use.
* <emphasis>This function is not threadsafe, so only use it while only the
* main thread is running.</emphasis>
*
* Returns: the list of categories
*/