summaryrefslogtreecommitdiff
path: root/gst/geometrictransform/gstgeometrictransform.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/geometrictransform/gstgeometrictransform.c')
-rw-r--r--gst/geometrictransform/gstgeometrictransform.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/geometrictransform/gstgeometrictransform.c b/gst/geometrictransform/gstgeometrictransform.c
index 01e57c377..8e78de7ab 100644
--- a/gst/geometrictransform/gstgeometrictransform.c
+++ b/gst/geometrictransform/gstgeometrictransform.c
@@ -357,10 +357,10 @@ gst_geometric_transform_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_geometric_transform_sink_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_geometric_transform_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_geometric_transform_sink_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_geometric_transform_src_template);
}
static void