From 3d70ce60fad9fdcfb4a65c0864b2598a4bb0a354 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Dr=C3=B6ge?= Date: Sun, 18 Apr 2010 22:23:03 +0200 Subject: [PATCH] videobalance: Add debug category --- gst/videofilter/gstvideobalance.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gst/videofilter/gstvideobalance.c b/gst/videofilter/gstvideobalance.c index cf6aa9b..d35547d 100644 --- a/gst/videofilter/gstvideobalance.c +++ b/gst/videofilter/gstvideobalance.c @@ -59,6 +59,9 @@ #define rint(x) (floor((x)+0.5)) #endif +GST_DEBUG_CATEGORY_STATIC (videobalance_debug); +#define GST_CAT_DEFAULT videobalance_debug + /* GstVideoBalance properties */ #define DEFAULT_PROP_CONTRAST 1.0 #define DEFAULT_PROP_BRIGHTNESS 0.0 @@ -402,6 +405,9 @@ gst_video_balance_class_init (GstVideoBalanceClass * klass) GObjectClass *gobject_class = (GObjectClass *) klass; GstBaseTransformClass *trans_class = (GstBaseTransformClass *) klass; + GST_DEBUG_CATEGORY_INIT (videobalance_debug, "videobalance", 0, + "videobalance"); + gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_video_balance_finalize); gobject_class->set_property = gst_video_balance_set_property; gobject_class->get_property = gst_video_balance_get_property; -- 2.7.4