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, 2 insertions, 1 deletions
diff --git a/ext/nas/nassink.c b/ext/nas/nassink.c
index dac158d2a..4b535951b 100644
--- a/ext/nas/nassink.c
+++ b/ext/nas/nassink.c
@@ -95,7 +95,8 @@ gst_nas_sink_base_init (gpointer g_class)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (g_class);
- gst_element_class_add_static_pad_template (element_class, &sink_factory);
+ gst_element_class_add_pad_template (element_class,
+ gst_static_pad_template_get (&sink_factory));
gst_element_class_set_details_simple (element_class, "NAS audio sink",
"Sink/Audio",
"Plays audio to a Network Audio Server",