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