mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 12:25:37 +00:00
add debugging categories
Original commit message from CVS: add debugging categories
This commit is contained in:
parent
a983e1622b
commit
4b27299a4a
3 changed files with 22 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue