From c0f9c74ca6632242d1829aebaebafdc0ce96be7e Mon Sep 17 00:00:00 2001 From: Sreerenj Balachandran Date: Mon, 18 Apr 2011 23:40:35 +0300 Subject: [PATCH] facedetect: Remove dead code and some minor doc changes. --- ext/opencv/gstfacedetect.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/ext/opencv/gstfacedetect.c b/ext/opencv/gstfacedetect.c index a3ced6d..49fa481 100644 --- a/ext/opencv/gstfacedetect.c +++ b/ext/opencv/gstfacedetect.c @@ -46,7 +46,7 @@ /** * SECTION:element-facedetect * - * FIXME:Describe facedetect here. + * Performs face detection on videos and images. * * * Example launch line @@ -96,8 +96,6 @@ enum /** * GstOpencvFaceDetectFlags: - * @GST_CAMERABIN_FLAG_SOURCE_RESIZE: enable video crop and scale - * after capture * * Flags parameter to OpenCV's cvHaarDetectObjects function. */ @@ -205,7 +203,6 @@ gst_facedetect_class_init (GstfacedetectClass * klass) gobject_class = (GObjectClass *) klass; gstopencvbasefilter_class = (GstOpencvVideoFilterClass *) klass; - parent_class = g_type_class_peek_parent (klass); gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_facedetect_finalize); gobject_class->set_property = gst_facedetect_set_property; @@ -385,8 +382,8 @@ gst_facedetect_message_new (Gstfacedetect * filter, GstBuffer * buf) } -/* chain function - * this function does the actual processing +/* + * Performs the face detection */ static GstFlowReturn gst_facedetect_transform_ip (GstOpencvVideoFilter * base, GstBuffer * buf, -- 2.7.4