ffmpegcolorspace: rename performance category
authorThijs Vermeir <thijsvermeir@gmail.com>
Thu, 21 Jan 2010 18:31:23 +0000 (19:31 +0100)
committerThijs Vermeir <thijsvermeir@gmail.com>
Thu, 21 Jan 2010 18:34:33 +0000 (19:34 +0100)
rename the performance category to ffmpegcolorspace_performance
as there is already a global GST_CAT_PERFORMANCE in core

gst/ffmpegcolorspace/gstffmpegcolorspace.c
gst/ffmpegcolorspace/imgconvert.c

index fee8ede..714b01f 100644 (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);
index 2e39155..405a734 100644 (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) {