summaryrefslogtreecommitdiff
path: root/sys/directsound/gstdirectsoundsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/directsound/gstdirectsoundsrc.c')
-rw-r--r--sys/directsound/gstdirectsoundsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/directsound/gstdirectsoundsrc.c b/sys/directsound/gstdirectsoundsrc.c
index 54282f664..7f0072d25 100644
--- a/sys/directsound/gstdirectsoundsrc.c
+++ b/sys/directsound/gstdirectsoundsrc.c
@@ -156,8 +156,8 @@ gst_directsound_src_base_init (gpointer g_class)
"Capture from a soundcard via DIRECTSOUND",
"Joni Valtanen <joni.valtanen@movial.fi>");
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&directsound_src_src_factory));
+ gst_element_class_add_static_pad_template (element_class,
+ &directsound_src_src_factory);
}