mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
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:
parent
1c9763c0eb
commit
7f9aef31cb
2 changed files with 2 additions and 2 deletions
|
@ -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 \
|
||||
|
|
|
@ -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",
|
Loading…
Reference in a new issue