add oss debugging category

Original commit message from CVS:
add oss debugging category
This commit is contained in:
Thomas Vander Stichele 2004-01-12 12:07:28 +00:00
parent c5ee12c2a7
commit 21c053773f
3 changed files with 12 additions and 0 deletions

View file

@ -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> 2004-01-11 David Schleef <ds@schleef.org>
* ext/ffmpeg/gstffmpeg.c: * ext/ffmpeg/gstffmpeg.c:

View file

@ -27,6 +27,8 @@
extern gchar *__gst_oss_plugin_dir; extern gchar *__gst_oss_plugin_dir;
GST_DEBUG_CATEGORY (oss_debug);
static gboolean static gboolean
plugin_init (GstPlugin *plugin) plugin_init (GstPlugin *plugin)
{ {
@ -42,6 +44,7 @@ plugin_init (GstPlugin *plugin)
return FALSE; return FALSE;
} }
GST_DEBUG_CATEGORY_INIT (oss_debug, "oss", 0, "OSS elements");
return TRUE; return TRUE;
} }

View file

@ -25,6 +25,9 @@
#include <gst/gst.h> #include <gst/gst.h>
GST_DEBUG_CATEGORY_EXTERN (oss_debug);
#define GST_CAT_DEFAULT oss_debug
G_BEGIN_DECLS G_BEGIN_DECLS
#define GST_TYPE_OSSELEMENT \ #define GST_TYPE_OSSELEMENT \