From 1071309870735ce1f167a2e53c224636812e6eaf Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Fri, 4 Mar 2016 10:30:12 +0900 Subject: good: use new gst_element_class_add_static_pad_template() https://bugzilla.gnome.org/show_bug.cgi?id=763076 --- ext/shout2/gstshout2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext/shout2') diff --git a/ext/shout2/gstshout2.c b/ext/shout2/gstshout2.c index e154ba871..3952e7782 100644 --- a/ext/shout2/gstshout2.c +++ b/ext/shout2/gstshout2.c @@ -223,8 +223,7 @@ gst_shout2send_class_init (GstShout2sendClass * klass) gstbasesink_class->event = GST_DEBUG_FUNCPTR (gst_shout2send_event); gstbasesink_class->set_caps = GST_DEBUG_FUNCPTR (gst_shout2send_setcaps); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&sink_template)); + gst_element_class_add_static_pad_template (gstelement_class, &sink_template); gst_element_class_set_static_metadata (gstelement_class, "Icecast network sink", -- cgit v1.2.1