various: fix pad template ref leaks

https://bugzilla.gnome.org/show_bug.cgi?id=662664
This commit is contained in:
Vincent Penquerc'h 2011-11-28 13:08:27 +00:00
parent a1fc9987ca
commit 41359df358

View file

@ -98,8 +98,7 @@ gst_data_uri_src_base_init (gpointer klass)
{
GstElementClass *element_class = (GstElementClass *) (klass);
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_details_simple (element_class,
"data: URI source element", "Source", "Handles data: uris",
"Philippe Normand <pnormand@igalia.com>, "