skindetect: Change gstskindetect to C++

Change the file extension to cpp and add it into Makefile for consistency
with other elements of opencv and because Opencv not support C language in
new API 2.4.11.

https://bugzilla.gnome.org/show_bug.cgi?id=754148
This commit is contained in:
Vanessa Chipirrás Navalón 2015-10-02 18:50:45 +01:00 committed by Luis de Bethencourt
parent 1c9763c0eb
commit 7f9aef31cb
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ libgstopencv_la_SOURCES = gstopencv.cpp \
gsttemplatematch.c \
gsttextoverlay.c \
gstmotioncells.c \
gstskindetect.c \
gstskindetect.cpp \
gstretinex.cpp \
gstfacedetect.cpp \
gstsegmentation.cpp \

View file

@ -158,7 +158,7 @@ gst_skin_detect_class_init (GstSkinDetectClass * klass)
"Method to use",
"Method to use",
GST_TYPE_SKIN_DETECT_METHOD, HSV,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
gst_element_class_set_static_metadata (element_class,
"skindetect",