cat <<EOF
#include "gstreplace.h"
+GST_DEBUG_CATEGORY_STATIC (gst_replace_debug);
+#define GST_CAT_DEFAULT gst_replace_debug
+
/* prototypes */
EOF
/* class initialization */
-GST_BOILERPLATE (GstReplace, gst_replace, GstBaseReplace,
- GST_TYPE_BASE_REPLACE);
+#define DEBUG_INIT(bla) \\
+ GST_DEBUG_CATEGORY_INIT (gst_replace_debug, "replace", 0, \\
+ "debug category for replace element");
+
+GST_BOILERPLATE_FULL (GstReplace, gst_replace, GstBaseReplace,
+ GST_TYPE_BASE_REPLACE, DEBUG_INIT);
static void
gst_replace_base_init (gpointer g_class)