summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpsirenpay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpsirenpay.c')
-rw-r--r--gst/rtp/gstrtpsirenpay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpsirenpay.c b/gst/rtp/gstrtpsirenpay.c
index c7c9582..e878d4f 100644
--- a/gst/rtp/gstrtpsirenpay.c
+++ b/gst/rtp/gstrtpsirenpay.c
@@ -59,10 +59,10 @@ gst_rtp_siren_pay_base_init (gpointer klass)
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_rtp_siren_pay_sink_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_rtp_siren_pay_src_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_rtp_siren_pay_sink_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_rtp_siren_pay_src_template);
gst_element_class_set_details_simple (element_class,
"RTP Payloader for Siren Audio", "Codec/Payloader/Network/RTP",
"Packetize Siren audio streams into RTP packets",