+2005-12-18 Julien MOUTTE <julien@moutte.net>
+
+ * gst-libs/gst/video/gstvideosink.c: (gst_video_sink_base_init),
+ (gst_video_sink_get_type): Add a debug category.
+
2005-12-17 Philippe Khalaf <burger@speedy.org>
* gst-libs/gst/rtp/gstbasertpdepayload.c:
#include "gstvideosink.h"
+GST_DEBUG_CATEGORY_STATIC (video_sink_debug);
+#define GST_CAT_DEFAULT video_sink_debug
+
static GstElementClass *parent_class = NULL;
/**
parent_class = g_type_class_ref (GST_TYPE_ELEMENT);
}
+static void
+gst_video_sink_base_init (gpointer g_class)
+{
+ GST_DEBUG_CATEGORY_INIT (video_sink_debug, "videosink", 0, "GstVideoSink");
+}
+
/* Public methods */
GType
if (!videosink_type) {
static const GTypeInfo videosink_info = {
sizeof (GstVideoSinkClass),
- NULL,
+ gst_video_sink_base_init,
NULL,
(GClassInitFunc) gst_video_sink_class_init,
NULL,