g_free (filter->eyes_profile);
if (filter->cvFaceDetect)
- delete (&filter->cvFaceDetect);
+ delete (filter->cvFaceDetect);
if (filter->cvNoseDetect)
- delete (&filter->cvNoseDetect);
+ delete (filter->cvNoseDetect);
if (filter->cvMouthDetect)
- delete (&filter->cvMouthDetect);
+ delete (filter->cvMouthDetect);
if (filter->cvEyesDetect)
- delete (&filter->cvEyesDetect);
+ delete (filter->cvEyesDetect);
G_OBJECT_CLASS (gst_face_detect_parent_class)->finalize (obj);
}
case PROP_FACE_PROFILE:
g_free (filter->face_profile);
if (filter->cvFaceDetect)
- delete (&filter->cvFaceDetect);
+ delete (filter->cvFaceDetect);
filter->face_profile = g_value_dup_string (value);
filter->cvFaceDetect =
gst_face_detect_load_profile (filter, filter->face_profile);
case PROP_NOSE_PROFILE:
g_free (filter->nose_profile);
if (filter->cvNoseDetect)
- delete (&filter->cvNoseDetect);
+ delete (filter->cvNoseDetect);
filter->nose_profile = g_value_dup_string (value);
filter->cvNoseDetect =
gst_face_detect_load_profile (filter, filter->nose_profile);
case PROP_MOUTH_PROFILE:
g_free (filter->mouth_profile);
if (filter->cvMouthDetect)
- delete (&filter->cvMouthDetect);
+ delete (filter->cvMouthDetect);
filter->mouth_profile = g_value_dup_string (value);
filter->cvMouthDetect =
gst_face_detect_load_profile (filter, filter->mouth_profile);
case PROP_EYES_PROFILE:
g_free (filter->eyes_profile);
if (filter->cvEyesDetect)
- delete (&filter->cvEyesDetect);
+ delete (filter->cvEyesDetect);
filter->eyes_profile = g_value_dup_string (value);
filter->cvEyesDetect =
gst_face_detect_load_profile (filter, filter->eyes_profile);