diff --git a/gst/gstsample.c b/gst/gstsample.c index 4ceb436e6b..f6f0eadedb 100644 --- a/gst/gstsample.c +++ b/gst/gstsample.c @@ -33,6 +33,9 @@ #include "gstsample.h" +GST_DEBUG_CATEGORY_STATIC (gst_sample_debug); +#define GST_CAT_DEFAULT gst_sample_debug + struct _GstSample { GstMiniObject mini_object; @@ -51,6 +54,8 @@ void _priv_gst_sample_initialize (void) { _gst_sample_type = gst_sample_get_type (); + + GST_DEBUG_CATEGORY_INIT (gst_sample_debug, "sample", 0, "GstSample debug"); } static GstSample * diff --git a/gst/gststructure.c b/gst/gststructure.c index c4ec890efc..91919e690e 100644 --- a/gst/gststructure.c +++ b/gst/gststructure.c @@ -67,6 +67,9 @@ #include #include +GST_DEBUG_CATEGORY_STATIC (gst_structure_debug); +#define GST_CAT_DEFAULT gst_structure_debug + typedef struct _GstStructureField GstStructureField; struct _GstStructureField @@ -125,6 +128,9 @@ _priv_gst_structure_initialize (void) g_value_register_transform_func (_gst_structure_type, G_TYPE_STRING, gst_structure_transform_to_string); + + GST_DEBUG_CATEGORY_INIT (gst_structure_debug, "structure", 0, + "GstStructure debug"); } static GstStructure *