]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - glsdk/gstreamer0-10.git/commitdiff
gst/: Added QOS debug category
authorWim Taymans <wim.taymans@gmail.com>
Mon, 13 Mar 2006 11:08:28 +0000 (11:08 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Mon, 13 Mar 2006 11:08:28 +0000 (11:08 +0000)
Original commit message from CVS:
* gst/gst_private.h:
* gst/gstinfo.c: (_gst_debug_init):
Added QOS debug category

ChangeLog
gst/gst_private.h
gst/gstinfo.c

index 6ef9122ee33e233dda2499968657f3b1a5596c61..3554063f3e3006546c15ddca3f05091f5809c480 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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:
index 06d1dd475aeac028c9d8dbc068dbedc8ce9a6a1c..18abc0a39498d6ba5066609ced77055b07800506 100644 (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
 
index fa80910d2b7bc9f7d7765ac14933f97f9a666426..2b4bcb4330f4cd1e6544add759e495c5ef7dfe89 100644 (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
  */