summaryrefslogtreecommitdiff
path: root/ext/audiofile/gstafsink.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/audiofile/gstafsink.c')
-rw-r--r--ext/audiofile/gstafsink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/audiofile/gstafsink.c b/ext/audiofile/gstafsink.c
index 79fc7abdb..b8a25f6ab 100644
--- a/ext/audiofile/gstafsink.c
+++ b/ext/audiofile/gstafsink.c
@@ -138,8 +138,8 @@ gst_afsink_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 (&afsink_sink_factory));
+ gst_element_class_add_static_pad_template (element_class,
+ &afsink_sink_factory);
gst_element_class_set_details_simple (element_class, "Audiofile sink",
"Sink/Audio",
"Write audio streams to disk using libaudiofile",