diff --git a/plugins/elements/gstdataurisrc.c b/plugins/elements/gstdataurisrc.c index fe018b0df1..84ec894537 100644 --- a/plugins/elements/gstdataurisrc.c +++ b/plugins/elements/gstdataurisrc.c @@ -99,8 +99,7 @@ gst_data_uri_src_class_init (GstDataURISrcClass * klass) "URI that should be used", NULL, G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&src_template)); + gst_element_class_add_static_pad_template (element_class, &src_template); gst_element_class_set_static_metadata (element_class, "data: URI source element", "Source", "Handles data: uris", "Philippe Normand , "