summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 429ebff)
raw | patch | inline | side by side (parent: 429ebff)
author | Wim Taymans <wim.taymans@gmail.com> | |
Mon, 13 Mar 2006 11:08:28 +0000 (11:08 +0000) | ||
committer | Wim 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
* gst/gst_private.h:
* gst/gstinfo.c: (_gst_debug_init):
Added QOS debug category
ChangeLog | patch | blob | history | |
gst/gst_private.h | patch | blob | history | |
gst/gstinfo.c | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 6ef9122ee33e233dda2499968657f3b1a5596c61..3554063f3e3006546c15ddca3f05091f5809c480 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+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:
diff --git a/gst/gst_private.h b/gst/gst_private.h
index 06d1dd475aeac028c9d8dbc068dbedc8ce9a6a1c..18abc0a39498d6ba5066609ced77055b07800506 100644 (file)
--- a/gst/gst_private.h
+++ b/gst/gst_private.h
extern GstDebugCategory *GST_CAT_SIGNAL;
extern GstDebugCategory *GST_CAT_PROBE;
extern GstDebugCategory *GST_CAT_REGISTRY;
+extern GstDebugCategory *GST_CAT_QOS;
#else
#define GST_CAT_SIGNAL NULL
#define GST_CAT_PROBE NULL
#define GST_CAT_REGISTRY NULL
+#define GST_CAT_QOS NULL
#endif
diff --git a/gst/gstinfo.c b/gst/gstinfo.c
index fa80910d2b7bc9f7d7765ac14933f97f9a666426..2b4bcb4330f4cd1e6544add759e495c5ef7dfe89 100644 (file)
--- a/gst/gstinfo.c
+++ b/gst/gstinfo.c
static gint __default_level;
static gint __use_color;
+
+/* enabled by default */
gboolean __gst_debug_enabled = TRUE;
GstDebugCategory *GST_CAT_SIGNAL = NULL;
GstDebugCategory *GST_CAT_PROBE = NULL;
GstDebugCategory *GST_CAT_REGISTRY = NULL;
+GstDebugCategory *GST_CAT_QOS = NULL;
/* FIXME: export this? */
gboolean
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 */
* 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
*/