mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
gst-libs/gst/video/gstvideosink.c: Add a debug category.
Original commit message from CVS: 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.
This commit is contained in:
parent
f5723a256e
commit
7811799ce8
2 changed files with 15 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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:
|
||||
|
|
|
@ -37,6 +37,9 @@
|
|||
|
||||
#include "gstvideosink.h"
|
||||
|
||||
GST_DEBUG_CATEGORY_STATIC (video_sink_debug);
|
||||
#define GST_CAT_DEFAULT video_sink_debug
|
||||
|
||||
static GstElementClass *parent_class = NULL;
|
||||
|
||||
/**
|
||||
|
@ -110,6 +113,12 @@ gst_video_sink_class_init (GstVideoSinkClass * klass)
|
|||
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
|
||||
|
@ -120,7 +129,7 @@ gst_video_sink_get_type (void)
|
|||
if (!videosink_type) {
|
||||
static const GTypeInfo videosink_info = {
|
||||
sizeof (GstVideoSinkClass),
|
||||
NULL,
|
||||
gst_video_sink_base_init,
|
||||
NULL,
|
||||
(GClassInitFunc) gst_video_sink_class_init,
|
||||
NULL,
|
||||
|
|
Loading…
Reference in a new issue