summaryrefslogtreecommitdiff
path: root/ext/shout2
diff options
context:
space:
mode:
authorVineeth TM <vineeth.tm@samsung.com>2016-03-04 10:30:12 +0900
committerSebastian Dröge <sebastian@centricular.com>2016-03-24 14:32:20 +0200
commit1071309870735ce1f167a2e53c224636812e6eaf (patch)
tree166ac197d98639553c4d9f437dfe53676f9340b1 /ext/shout2
parent2b8b5f22465850b306b93c8317ac0f4ff10ca432 (diff)
downloadgstreamer-plugins-good-1071309870735ce1f167a2e53c224636812e6eaf.tar.gz
good: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763076
Diffstat (limited to 'ext/shout2')
-rw-r--r--ext/shout2/gstshout2.c3
1 files changed, 1 insertions, 2 deletions
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",