mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
opencv: remove empty finalize implementations
This commit is contained in:
parent
97279f1dfd
commit
ee91057526
4 changed files with 0 additions and 36 deletions
|
@ -117,14 +117,6 @@ gst_cv_dilate_erode_get_type (void)
|
|||
return opencv_dilate_erode_type;
|
||||
}
|
||||
|
||||
/* Clean up */
|
||||
static void
|
||||
gst_cv_dilate_erode_finalize (GObject * obj)
|
||||
{
|
||||
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||
}
|
||||
|
||||
|
||||
/* GObject vmethod implementations */
|
||||
|
||||
static void
|
||||
|
@ -158,7 +150,6 @@ gst_cv_dilate_erode_class_init (GstCvDilateErodeClass * klass)
|
|||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_cv_dilate_erode_finalize);
|
||||
gobject_class->set_property = gst_cv_dilate_erode_set_property;
|
||||
gobject_class->get_property = gst_cv_dilate_erode_get_property;
|
||||
|
||||
|
|
|
@ -70,13 +70,6 @@ static GstFlowReturn gst_cv_equalize_hist_transform (GstOpencvVideoFilter *
|
|||
filter, GstBuffer * buf, IplImage * img, GstBuffer * outbuf,
|
||||
IplImage * outimg);
|
||||
|
||||
/* Clean up */
|
||||
static void
|
||||
gst_cv_equalize_hist_finalize (GObject * obj)
|
||||
{
|
||||
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||
}
|
||||
|
||||
|
||||
/* GObject vmethod implementations */
|
||||
static void
|
||||
|
@ -99,14 +92,11 @@ gst_cv_equalize_hist_base_init (gpointer gclass)
|
|||
static void
|
||||
gst_cv_equalize_hist_class_init (GstCvEqualizeHistClass * klass)
|
||||
{
|
||||
GObjectClass *gobject_class;
|
||||
GstOpencvVideoFilterClass *gstopencvbasefilter_class;
|
||||
|
||||
gobject_class = (GObjectClass *) klass;
|
||||
gstopencvbasefilter_class = (GstOpencvVideoFilterClass *) klass;
|
||||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_cv_equalize_hist_finalize);
|
||||
gstopencvbasefilter_class->cv_trans_func = gst_cv_equalize_hist_transform;
|
||||
}
|
||||
|
||||
|
|
|
@ -119,14 +119,6 @@ static GstFlowReturn gst_cv_smooth_transform_ip (GstOpencvVideoFilter *
|
|||
static GstFlowReturn gst_cv_smooth_transform (GstOpencvVideoFilter * filter,
|
||||
GstBuffer * buf, IplImage * img, GstBuffer * outbuf, IplImage * outimg);
|
||||
|
||||
/* Clean up */
|
||||
static void
|
||||
gst_cv_smooth_finalize (GObject * obj)
|
||||
{
|
||||
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||
}
|
||||
|
||||
|
||||
/* GObject vmethod implementations */
|
||||
|
||||
static void
|
||||
|
@ -166,7 +158,6 @@ gst_cv_smooth_class_init (GstCvSmoothClass * klass)
|
|||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_cv_smooth_finalize);
|
||||
gobject_class->set_property = gst_cv_smooth_set_property;
|
||||
gobject_class->get_property = gst_cv_smooth_get_property;
|
||||
|
||||
|
|
|
@ -103,13 +103,6 @@ static GstCaps *gst_cv_sobel_transform_caps (GstBaseTransform * trans,
|
|||
static GstFlowReturn gst_cv_sobel_transform (GstOpencvVideoFilter * filter,
|
||||
GstBuffer * buf, IplImage * img, GstBuffer * outbuf, IplImage * outimg);
|
||||
|
||||
/* Clean up */
|
||||
static void
|
||||
gst_cv_sobel_finalize (GObject * obj)
|
||||
{
|
||||
G_OBJECT_CLASS (parent_class)->finalize (obj);
|
||||
}
|
||||
|
||||
/* GObject vmethod implementations */
|
||||
|
||||
static void
|
||||
|
@ -143,7 +136,6 @@ gst_cv_sobel_class_init (GstCvSobelClass * klass)
|
|||
|
||||
parent_class = g_type_class_peek_parent (klass);
|
||||
|
||||
gobject_class->finalize = GST_DEBUG_FUNCPTR (gst_cv_sobel_finalize);
|
||||
gobject_class->set_property = gst_cv_sobel_set_property;
|
||||
gobject_class->get_property = gst_cv_sobel_get_property;
|
||||
|
||||
|
|
Loading…
Reference in a new issue