ffmpegcolorspace: rename performance category

rename the performance category to ffmpegcolorspace_performance
as there is already a global GST_CAT_PERFORMANCE in core
This commit is contained in:
Thijs Vermeir 2010-01-21 19:31:23 +01:00
parent 4b9666aedb
commit 48aa1959c8
2 changed files with 6 additions and 5 deletions

View file

@ -41,7 +41,7 @@
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 =
@ -554,7 +554,7 @@ gst_ffmpegcolorspace_register (GstPlugin * plugin)
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);

View file

@ -35,7 +35,7 @@
#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)
@ -3120,8 +3120,9 @@ img_convert (AVPicture * dst, int dst_pix_fmt,
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) {