summaryrefslogtreecommitdiff
path: root/gst/smooth
diff options
context:
space:
mode:
Diffstat (limited to 'gst/smooth')
-rw-r--r--gst/smooth/gstsmooth.c4
-rw-r--r--gst/smooth/gstsmooth.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c
index 3bc233ae0..6fab7ac6d 100644
--- a/gst/smooth/gstsmooth.c
+++ b/gst/smooth/gstsmooth.c
@@ -64,6 +64,7 @@ static void gst_smooth_get_property (GObject * object, guint prop_id,
GValue * value, GParamSpec * pspec);
G_DEFINE_TYPE (GstSmooth, gst_smooth, GST_TYPE_VIDEO_FILTER);
+GST_ELEMENT_REGISTER_DEFINE (smooth, "smooth", GST_RANK_NONE, GST_TYPE_SMOOTH);
static void
gst_smooth_class_init (GstSmoothClass * klass)
@@ -277,8 +278,7 @@ gst_smooth_get_property (GObject * object, guint prop_id, GValue * value,
static gboolean
plugin_init (GstPlugin * plugin)
{
- return gst_element_register (plugin, "smooth",
- GST_RANK_NONE, GST_TYPE_SMOOTH);
+ return GST_ELEMENT_REGISTER (smooth, plugin);
}
GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
diff --git a/gst/smooth/gstsmooth.h b/gst/smooth/gstsmooth.h
index 3bec38330..13ca1b86c 100644
--- a/gst/smooth/gstsmooth.h
+++ b/gst/smooth/gstsmooth.h
@@ -65,7 +65,7 @@ struct _GstSmoothClass {
};
GType gst_smooth_get_type(void);
-
+GST_ELEMENT_REGISTER_DECLARE (smooth);
#ifdef __cplusplus
}