summaryrefslogtreecommitdiff
path: root/ext/nas/nassink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/nas/nassink.c')
-rw-r--r--ext/nas/nassink.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c
index cd8485bb7..2d6404b8b 100644
--- a/ext/nas/nassink.c
+++ b/ext/nas/nassink.c
@@ -94,8 +94,7 @@ gst_nas_sink_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&sink_factory));
+ gst_element_class_add_static_pad_template (element_class, &sink_factory);
gst_element_class_set_static_metadata (element_class, "NAS audio sink",
"Sink/Audio",
"Plays audio to a Network Audio Server",