summaryrefslogtreecommitdiff
path: root/gst/dtmf/gstrtpdtmfsrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/dtmf/gstrtpdtmfsrc.c')
-rw-r--r--gst/dtmf/gstrtpdtmfsrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/dtmf/gstrtpdtmfsrc.c b/gst/dtmf/gstrtpdtmfsrc.c
index ee8703563..605aca45e 100644
--- a/gst/dtmf/gstrtpdtmfsrc.c
+++ b/gst/dtmf/gstrtpdtmfsrc.c
@@ -208,8 +208,8 @@ gst_rtp_dtmf_src_base_init (gpointer g_class)
GST_DEBUG_CATEGORY_INIT (gst_rtp_dtmf_src_debug,
"rtpdtmfsrc", 0, "rtpdtmfsrc element");
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_rtp_dtmf_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_rtp_dtmf_src_template);
gst_element_class_set_details_simple (element_class,
"RTP DTMF packet generator", "Source/Network",