mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
basevideo: use debug category for each class
This commit is contained in:
parent
efb8a4324c
commit
c295354da5
5 changed files with 19 additions and 12 deletions
|
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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");
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue