ffmpegcolorspace: Use the ffmpegcolorspace debug category

Move gstffmpegcodecmap debug to the ffmpegcolorspace category
This commit is contained in:
Jan Schmidt 2009-09-30 23:22:35 +01:00
parent 850c95178d
commit f58a2b71b5
2 changed files with 7 additions and 4 deletions

View file

@ -30,6 +30,9 @@
#include "avcodec.h"
#include "gstffmpegcodecmap.h"
GST_DEBUG_CATEGORY_EXTERN (ffmpegcolorspace_debug);
#define GST_CAT_DEFAULT ffmpegcolorspace_debug
static GstCaps *
gst_ff_vid_caps_new (AVCodecContext * context,
const char *mimetype, const char *fieldname, ...)

View file

@ -39,7 +39,7 @@
#include "gstffmpegcolorspace.h"
#include "gstffmpegcodecmap.h"
GST_DEBUG_CATEGORY_STATIC (ffmpegcolorspace_debug);
GST_DEBUG_CATEGORY (ffmpegcolorspace_debug);
#define GST_CAT_DEFAULT ffmpegcolorspace_debug
/* elementfactory information */
@ -360,9 +360,6 @@ gst_ffmpegcsp_class_init (GstFFMpegCspClass * klass)
#endif
gstbasetransform_class->passthrough_on_same_caps = TRUE;
GST_DEBUG_CATEGORY_INIT (ffmpegcolorspace_debug, "ffmpegcolorspace", 0,
"FFMPEG-based colorspace converter");
}
static void
@ -489,6 +486,9 @@ gst_ffmpegcolorspace_register (GstPlugin * plugin)
{
GstCaps *caps;
GST_DEBUG_CATEGORY_INIT (ffmpegcolorspace_debug, "ffmpegcolorspace", 0,
"FFMPEG-based colorspace converter");
/* template caps */
caps = gst_ffmpegcsp_codectype_to_caps (CODEC_TYPE_VIDEO, NULL);