summaryrefslogtreecommitdiff
path: root/gst/rtp/gstrtpgstpay.c
diff options
context:
space:
mode:
authorSangchul Lee <sc11.lee@samsung.com>2012-08-21 22:53:54 +0900
committerSangchul Lee <sc11.lee@samsung.com>2012-08-21 22:53:54 +0900
commitbaa3403ebe3f0028ca826fb8d7f56e9cbed05356 (patch)
tree7765d941dd576fcd3bf0cb297894e55fbbfe3207 /gst/rtp/gstrtpgstpay.c
parentb1065bf2a5159183bde18dcd95c988ea42b86f83 (diff)
downloadgst-plugins-good0.10-master.tar.gz
gst-plugins-good0.10-master.tar.bz2
gst-plugins-good0.10-master.zip
Diffstat (limited to 'gst/rtp/gstrtpgstpay.c')
-rw-r--r--gst/rtp/gstrtpgstpay.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpgstpay.c b/gst/rtp/gstrtpgstpay.c
index e6e23de..3f244bc 100644
--- a/gst/rtp/gstrtpgstpay.c
+++ b/gst/rtp/gstrtpgstpay.c
@@ -80,10 +80,10 @@ GST_BOILERPLATE (GstRtpGSTPay, gst_rtp_gst_pay, GstBaseRTPPayload,
{
GstElementClass *element_class = GST_ELEMENT_CLASS (klass);
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_rtp_gst_pay_src_template));
- gst_element_class_add_pad_template (element_class,
- gst_static_pad_template_get (&gst_rtp_gst_pay_sink_template));
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_rtp_gst_pay_src_template);
+ gst_element_class_add_static_pad_template (element_class,
+ &gst_rtp_gst_pay_sink_template);
gst_element_class_set_details_simple (element_class,
"RTP GStreamer payloader", "Codec/Payloader/Network/RTP",