GST_DEBUG_CATEGORY (ffmpegcolorspace_debug);
#define GST_CAT_DEFAULT ffmpegcolorspace_debug
-GST_DEBUG_CATEGORY (GST_CAT_PERFORMANCE);
+GST_DEBUG_CATEGORY (ffmpegcolorspace_performance);
/* elementfactory information */
static const GstElementDetails ffmpegcsp_details =
GST_DEBUG_CATEGORY_INIT (ffmpegcolorspace_debug, "ffmpegcolorspace", 0,
"FFMPEG-based colorspace converter");
- GST_DEBUG_CATEGORY_GET (GST_CAT_PERFORMANCE, "GST_PERFORMANCE");
+ GST_DEBUG_CATEGORY_GET (ffmpegcolorspace_performance, "GST_PERFORMANCE");
/* template caps */
caps = gst_ffmpegcsp_codectype_to_caps (CODEC_TYPE_VIDEO, NULL);
#include <string.h>
#include <stdlib.h>
-GST_DEBUG_CATEGORY_EXTERN (GST_CAT_PERFORMANCE);
+GST_DEBUG_CATEGORY_EXTERN (ffmpegcolorspace_performance);
#define xglue(x, y) x ## y
#define glue(x, y) xglue(x, y)
return 0;
}
no_chroma_filter:
- GST_CAT_INFO (GST_CAT_PERFORMANCE, "no direct path to convert colorspace "
- "from %s -> %s", src_pix->name, dst_pix->name);
+ GST_CAT_INFO (ffmpegcolorspace_performance,
+ "no direct path to convert colorspace from %s -> %s", src_pix->name,
+ dst_pix->name);
/* try to use an intermediate format */
if (src_pix_fmt == PIX_FMT_YUV422 || dst_pix_fmt == PIX_FMT_YUV422) {