X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=gst%2Frtp%2Fgstrtpdepay.c;h=1566f97acfa31179f377a6bfa7995f213e566331;hb=HEAD;hp=d94d9b1964f0b3185e57254b38b103d15d4c3122;hpb=b1065bf2a5159183bde18dcd95c988ea42b86f83;p=framework%2Fmultimedia%2Fgst-plugins-good0.10.git 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",