diff options
author | Vineeth TM <vineeth.tm@samsung.com> | 2016-03-04 10:30:12 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2016-03-24 14:32:20 +0200 |
commit | 1071309870735ce1f167a2e53c224636812e6eaf (patch) | |
tree | 166ac197d98639553c4d9f437dfe53676f9340b1 /gst/rtp/gstrtpmp4gdepay.c | |
parent | 2b8b5f22465850b306b93c8317ac0f4ff10ca432 (diff) |
good: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763076
Diffstat (limited to 'gst/rtp/gstrtpmp4gdepay.c')
-rw-r--r-- | gst/rtp/gstrtpmp4gdepay.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/rtp/gstrtpmp4gdepay.c b/gst/rtp/gstrtpmp4gdepay.c index c8c79c93d..d7d91c4ed 100644 --- a/gst/rtp/gstrtpmp4gdepay.c +++ b/gst/rtp/gstrtpmp4gdepay.c @@ -162,10 +162,10 @@ gst_rtp_mp4g_depay_class_init (GstRtpMP4GDepayClass * klass) gstrtpbasedepayload_class->set_caps = gst_rtp_mp4g_depay_setcaps; gstrtpbasedepayload_class->handle_event = gst_rtp_mp4g_depay_handle_event; - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gst_rtp_mp4g_depay_src_template)); - gst_element_class_add_pad_template (gstelement_class, - gst_static_pad_template_get (&gst_rtp_mp4g_depay_sink_template)); + gst_element_class_add_static_pad_template (gstelement_class, + &gst_rtp_mp4g_depay_src_template); + gst_element_class_add_static_pad_template (gstelement_class, + &gst_rtp_mp4g_depay_sink_template); gst_element_class_set_static_metadata (gstelement_class, "RTP MPEG4 ES depayloader", "Codec/Depayloader/Network/RTP", |