summaryrefslogtreecommitdiff
path: root/ext/shout/gstshout.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/shout/gstshout.c')
-rw-r--r--ext/shout/gstshout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/shout/gstshout.c b/ext/shout/gstshout.c
index c5a71136a..59cfc1409 100644
--- a/ext/shout/gstshout.c
+++ b/ext/shout/gstshout.c
@@ -110,8 +110,8 @@ gst_icecastsend_base_init (GstIcecastSendClass * klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&sink_template_factory));
+ gst_element_class_add_static_pad_template (element_class,
+ &sink_template_factory);
gst_element_class_set_details_simple (element_class, "Icecast network sink",
"Sink/Network",
"Sends data to an icecast server using libshout",