summaryrefslogtreecommitdiff
path: root/gst/effectv/gstop.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/effectv/gstop.c')
-rw-r--r--gst/effectv/gstop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/effectv/gstop.c b/gst/effectv/gstop.c
index de798dc..29f41f6 100644
--- a/gst/effectv/gstop.c
+++ b/gst/effectv/gstop.c
@@ -384,10 +384,10 @@ gst_optv_base_init (gpointer g_class)
"FUKUCHI, Kentarou <fukuchi@users.sourceforge.net>, "
"Sebastian Dröge <sebastian.droege@collabora.co.uk>");
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_optv_sink_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_optv_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_optv_sink_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_optv_src_template);
}
static void