summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpdepay.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/rtp/gstrtpdepay.c')
-rw-r--r--gst/rtp/gstrtpdepay.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/gst/rtp/gstrtpdepay.c b/gst/rtp/gstrtpdepay.c
index d94d9b1..1566f97 100644
--- a/gst/rtp/gstrtpdepay.c
+++ b/gst/rtp/gstrtpdepay.c
@@ -63,14 +63,14 @@ gst_rtp_depay_base_init (gpointer klass)
{
GstElementClass *gstelement_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_rtp_depay_src_rtp_template));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_rtp_depay_src_rtcp_template));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_rtp_depay_sink_rtp_template));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&gst_rtp_depay_sink_rtcp_template));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_rtp_depay_src_rtp_template);
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_rtp_depay_src_rtcp_template);
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_rtp_depay_sink_rtp_template);
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &gst_rtp_depay_sink_rtcp_template);
gst_element_class_set_details_simple (gstelement_class,
"Dummy RTP session manager", "Codec/Depayloader/Network/RTP",
"Accepts raw RTP and RTCP packets and sends them forward",