basevideo: use debug category for each class

This commit is contained in:
David Schleef 2010-06-02 16:01:28 -07:00
parent efb8a4324c
commit c295354da5
5 changed files with 19 additions and 12 deletions

View file

@ -26,8 +26,8 @@
#include <string.h>
#include <math.h>
GST_DEBUG_CATEGORY (basevideo_debug);
#define GST_CAT_DEFAULT basevideo_debug
GST_DEBUG_CATEGORY (basevideocodec_debug);
#define GST_CAT_DEFAULT basevideocodec_debug
/* GstBaseVideoCodec signals and args */
enum
@ -59,8 +59,8 @@ GST_BOILERPLATE (GstBaseVideoCodec, gst_base_video_codec, GstElement,
static void
gst_base_video_codec_base_init (gpointer g_class)
{
GST_DEBUG_CATEGORY_INIT (basevideo_debug, "vp8basevideo", 0,
"Base Video Classes");
GST_DEBUG_CATEGORY_INIT (basevideocodec_debug, "basevideocodec", 0,
"Base Video Codec");
}

View file

@ -25,8 +25,8 @@
#include <string.h>
GST_DEBUG_CATEGORY_EXTERN (basevideo_debug);
#define GST_CAT_DEFAULT basevideo_debug
GST_DEBUG_CATEGORY (basevideodecoder_debug);
#define GST_CAT_DEFAULT basevideodecoder_debug
static void gst_base_video_decoder_finalize (GObject * object);
@ -74,6 +74,8 @@ GST_BOILERPLATE (GstBaseVideoDecoder, gst_base_video_decoder,
static void
gst_base_video_decoder_base_init (gpointer g_class)
{
GST_DEBUG_CATEGORY_INIT (basevideodecoder_debug, "basevideodecoder", 0,
"Base Video Decoder");
}

View file

@ -24,8 +24,8 @@
#include "gstbasevideoencoder.h"
#include "gstbasevideoutils.h"
GST_DEBUG_CATEGORY_EXTERN (basevideo_debug);
#define GST_CAT_DEFAULT basevideo_debug
GST_DEBUG_CATEGORY (basevideoencoder_debug);
#define GST_CAT_DEFAULT basevideoencoder_debug
static void gst_base_video_encoder_finalize (GObject * object);
@ -50,6 +50,8 @@ GST_BOILERPLATE (GstBaseVideoEncoder, gst_base_video_encoder, GstBaseVideoCodec,
static void
gst_base_video_encoder_base_init (gpointer g_class)
{
GST_DEBUG_CATEGORY_INIT (basevideoencoder_debug, "basevideoencoder", 0,
"Base Video Encoder");
}

View file

@ -26,8 +26,8 @@
#include <string.h>
#include <math.h>
GST_DEBUG_CATEGORY_EXTERN (basevideo_debug);
#define GST_CAT_DEFAULT basevideo_debug
GST_DEBUG_CATEGORY (basevideoparse_debug);
#define GST_CAT_DEFAULT basevideoparse_debug
@ -67,6 +67,9 @@ GST_BOILERPLATE (GstBaseVideoParse, gst_base_video_parse,
static void
gst_base_video_parse_base_init (gpointer g_class)
{
GST_DEBUG_CATEGORY_INIT (basevideoparse_debug, "basevideoparse", 0,
"Base Video Parse");
}

View file

@ -25,8 +25,8 @@
#include <string.h>
GST_DEBUG_CATEGORY_EXTERN (basevideo_debug);
#define GST_CAT_DEFAULT basevideo_debug
GST_DEBUG_CATEGORY_EXTERN (basevideocodec_debug);
#define GST_CAT_DEFAULT basevideocodec_debug
#if 0