summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpmp4apay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpmp4apay.c')
-rw-r--r--gst/rtp/gstrtpmp4apay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpmp4apay.c b/gst/rtp/gstrtpmp4apay.c
index 70fdbed..bfafbd8 100644
--- a/gst/rtp/gstrtpmp4apay.c
+++ b/gst/rtp/gstrtpmp4apay.c
@@ -71,10 +71,10 @@ GST_BOILERPLATE (GstRtpMP4APay, gst_rtp_mp4a_pay, GstBaseRTPPayload,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_rtp_mp4a_pay_src_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_rtp_mp4a_pay_sink_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_rtp_mp4a_pay_src_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_rtp_mp4a_pay_sink_template);
gst_element_class_set_details_simple (element_class,
"RTP MPEG4 audio payloader", "Codec/Payloader/Network/RTP",