add debugging categories

Original commit message from CVS:
add debugging categories
This commit is contained in:
Thomas Vander Stichele 2004-04-20 15:45:07 +00:00
parent a983e1622b
commit 4b27299a4a
3 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
* sys/ximage/ximagesink.c: (plugin_init):
* sys/xvimage/xvimagesink.c: (plugin_init):
add debuggin categories
2004-04-20 Thomas Vander Stichele <thomas at apestaart dot org>
* po/en_GB.po:

View file

@ -28,6 +28,11 @@
/* Object header */
#include "ximagesink.h"
/* Debugging category */
#include <gst/gstinfo.h>
GST_DEBUG_CATEGORY_STATIC (gst_debug_ximagesink);
#define GST_CAT_DEFAULT gst_debug_ximagesink
static void gst_ximagesink_buffer_free (GstBuffer * buffer);
/* ElementFactory information */
@ -1409,6 +1414,9 @@ plugin_init (GstPlugin * plugin)
GST_RANK_SECONDARY, GST_TYPE_XIMAGESINK))
return FALSE;
GST_DEBUG_CATEGORY_INIT (gst_debug_ximagesink, "ximagesink", 0,
"ximagesink element");
return TRUE;
}

View file

@ -29,6 +29,11 @@
/* Object header */
#include "xvimagesink.h"
/* Debugging category */
#include <gst/gstinfo.h>
GST_DEBUG_CATEGORY_STATIC (gst_debug_xvimagesink);
#define GST_CAT_DEFAULT gst_debug_xvimagesink
static void gst_xvimagesink_buffer_free (GstBuffer * buffer);
/* ElementFactory information */
@ -1785,6 +1790,9 @@ plugin_init (GstPlugin * plugin)
GST_RANK_PRIMARY, GST_TYPE_XVIMAGESINK))
return FALSE;
GST_DEBUG_CATEGORY_INIT (gst_debug_xvimagesink, "xvimagesink", 0,
"xvimagesink element");
return TRUE;
}