From 21c053773fada7c942607bdd78882ce37fc7481d Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Mon, 12 Jan 2004 12:07:28 +0000 Subject: [PATCH] add oss debugging category Original commit message from CVS: add oss debugging category --- ChangeLog | 6 ++++++ sys/oss/gstossaudio.c | 3 +++ sys/oss/gstosselement.h | 3 +++ 3 files changed, 12 insertions(+) diff --git a/ChangeLog b/ChangeLog index 787cde8369..1b24c75ac0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-01-12 Thomas Vander Stichele + + * sys/oss/gstossaudio.c: (plugin_init): + * sys/oss/gstosselement.h: + make an oss debugging category + 2004-01-11 David Schleef * ext/ffmpeg/gstffmpeg.c: diff --git a/sys/oss/gstossaudio.c b/sys/oss/gstossaudio.c index c087d60e24..08868dbb1f 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 36e1281e04..895f2059ac 100644 --- a/sys/oss/gstosselement.h +++ b/sys/oss/gstosselement.h @@ -25,6 +25,9 @@ #include +GST_DEBUG_CATEGORY_EXTERN (oss_debug); +#define GST_CAT_DEFAULT oss_debug + G_BEGIN_DECLS #define GST_TYPE_OSSELEMENT \