diff --git a/ChangeLog b/ChangeLog index 71d0b79fbe..649fdfc4fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2004-04-20 Thomas Vander Stichele + + * sys/ximage/ximagesink.c: (plugin_init): + * sys/xvimage/xvimagesink.c: (plugin_init): + add debuggin categories + 2004-04-20 Thomas Vander Stichele * po/en_GB.po: diff --git a/sys/ximage/ximagesink.c b/sys/ximage/ximagesink.c index 03b3878d52..68f61264c5 100644 --- a/sys/ximage/ximagesink.c +++ b/sys/ximage/ximagesink.c @@ -28,6 +28,11 @@ /* Object header */ #include "ximagesink.h" +/* Debugging category */ +#include +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; } diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index b7f8d01cac..aa0588897d 100644 --- a/sys/xvimage/xvimagesink.c +++ b/sys/xvimage/xvimagesink.c @@ -29,6 +29,11 @@ /* Object header */ #include "xvimagesink.h" +/* Debugging category */ +#include +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; }