diff options
Diffstat (limited to 'gst/rtp/gstrtpgstdepay.c')
-rw-r--r-- | gst/rtp/gstrtpgstdepay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpgstdepay.c b/gst/rtp/gstrtpgstdepay.c index 6dc5e51..b187db4 100644 --- a/gst/rtp/gstrtpgstdepay.c +++ b/gst/rtp/gstrtpgstdepay.c @@ -64,10 +64,10 @@ gst_rtp_gst_depay_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_gst_depay_src_template)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_rtp_gst_depay_sink_template)); + gst_element_class_add_static_pad_template (element_class, + &gst_rtp_gst_depay_src_template); + gst_element_class_add_static_pad_template (element_class, + &gst_rtp_gst_depay_sink_template); gst_element_class_set_details_simple (element_class, "GStreamer depayloader", "Codec/Depayloader/Network", |