summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2004-01-12 12:07:28 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2004-01-12 12:07:28 +0000
commit21c053773fada7c942607bdd78882ce37fc7481d (patch)
treec082a346811c9892416aa70c445bb9bc1bdcb10c
parentc5ee12c2a780a2795ada26018061cc58d35e308e (diff)
add oss debugging category
Original commit message from CVS: add oss debugging category
-rw-r--r--ChangeLog6
-rw-r--r--sys/oss/gstossaudio.c3
-rw-r--r--sys/oss/gstosselement.h3
3 files changed, 12 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 787cde83..1b24c75a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2004-01-12 Thomas Vander Stichele <thomas at apestaart dot org>
+
+ * sys/oss/gstossaudio.c: (plugin_init):
+ * sys/oss/gstosselement.h:
+ make an oss debugging category
+
2004-01-11 David Schleef <ds@schleef.org>
* ext/ffmpeg/gstffmpeg.c:
diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c
index c087d60e..08868dbb 100644
--- a/sys/oss/gstossaudio.c
+++ b/sys/oss/gstossaudio.c
@@ -27,6 +27,8 @@
extern gchar *__gst_oss_plugin_dir;
+GST_DEBUG_CATEGORY (oss_debug);
+
static gboolean
plugin_init (GstPlugin *plugin)
{
@@ -42,6 +44,7 @@ plugin_init (GstPlugin *plugin)
return FALSE;
}
+ GST_DEBUG_CATEGORY_INIT (oss_debug, "oss", 0, "OSS elements");
return TRUE;
}
diff --git a/sys/oss/gstosselement.h b/sys/oss/gstosselement.h
index 36e1281e..895f2059 100644
--- a/sys/oss/gstosselement.h
+++ b/sys/oss/gstosselement.h
@@ -25,6 +25,9 @@
#include <gst/gst.h>
+GST_DEBUG_CATEGORY_EXTERN (oss_debug);
+#define GST_CAT_DEFAULT oss_debug
+
G_BEGIN_DECLS
#define GST_TYPE_OSSELEMENT \