mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 20:42:30 +00:00
cverode: Switch to C++
Switch gstcverode to C++ for consistency with other OpenCV elements, and support of the new 2.4.11 API. https://bugzilla.gnome.org/show_bug.cgi?id=754148
This commit is contained in:
parent
0ac769194f
commit
b2420b0408
3 changed files with 6 additions and 5 deletions
|
@ -5,9 +5,9 @@ libgstopencv_la_SOURCES = gstopencv.cpp \
|
|||
gstopencvvideofilter.c \
|
||||
gstopencvutils.c \
|
||||
gstcvdilate.cpp \
|
||||
gstcvdilateerode.c \
|
||||
gstcvdilateerode.cpp \
|
||||
gstcvequalizehist.c \
|
||||
gstcverode.c \
|
||||
gstcverode.cpp \
|
||||
gstcvlaplace.c \
|
||||
gstcvsmooth.cpp \
|
||||
gstcvsobel.c \
|
||||
|
|
|
@ -131,7 +131,8 @@ gst_cv_dilate_erode_class_init (GstCvDilateErodeClass * klass)
|
|||
g_object_class_install_property (gobject_class, PROP_ITERATIONS,
|
||||
g_param_spec_int ("iterations", "iterations",
|
||||
"Number of iterations to run the algorithm", 1, G_MAXINT,
|
||||
DEFAULT_ITERATIONS, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
|
||||
DEFAULT_ITERATIONS,
|
||||
(GParamFlags) (G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)));
|
||||
|
||||
/* add sink and source pad templates */
|
||||
caps = gst_opencv_caps_from_cv_image_type (CV_16UC1);
|
Loading…
Reference in a new issue