diff options
Diffstat (limited to 'gst/rtp/gstrtpdvpay.c')
-rw-r--r-- | gst/rtp/gstrtpdvpay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpdvpay.c b/gst/rtp/gstrtpdvpay.c index 1d6230c..7231cc6 100644 --- a/gst/rtp/gstrtpdvpay.c +++ b/gst/rtp/gstrtpdvpay.c @@ -101,10 +101,10 @@ GST_BOILERPLATE (GstRTPDVPay, gst_rtp_dv_pay, GstBaseRTPPayload, { GstElementClass *element_class = GST_ELEMENT_CLASS (g_class); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_rtp_dv_pay_sink_template)); - gst_element_class_add_pad_template (element_class, - gst_static_pad_template_get (&gst_rtp_dv_pay_src_template)); + gst_element_class_add_static_pad_template (element_class, + &gst_rtp_dv_pay_sink_template); + gst_element_class_add_static_pad_template (element_class, + &gst_rtp_dv_pay_src_template); gst_element_class_set_details_simple (element_class, "RTP DV Payloader", "Codec/Payloader/Network/RTP", "Payloads DV into RTP packets (RFC 3189)", |