summaryrefslogtreecommitdiff
path: root/gst/smooth/gstsmooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/smooth/gstsmooth.c')
-rw-r--r--gst/smooth/gstsmooth.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c
index cfdf51a36..3bc233ae0 100644
--- a/gst/smooth/gstsmooth.c
+++ b/gst/smooth/gstsmooth.c
@@ -89,13 +89,12 @@ gst_smooth_class_init (GstSmoothClass * klass)
g_param_spec_boolean ("luma-only", "luma-only", "only filter luma part",
TRUE, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_smooth_sink_template));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_smooth_src_template));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_smooth_sink_template);
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_smooth_src_template);
gst_element_class_set_static_metadata (gstelement_class, "Smooth effect",
- "Filter/Effect/Video",
- "Apply a smooth filter to an image",
+ "Filter/Effect/Video", "Apply a smooth filter to an image",
"Wim Taymans <wim.taymans@chello.be>");
vfilter_class->transform_frame =