summaryrefslogtreecommitdiff
path: root/gst/onvif/gstrtponvifparse.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/onvif/gstrtponvifparse.c')
-rw-r--r--gst/onvif/gstrtponvifparse.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gst/onvif/gstrtponvifparse.c b/gst/onvif/gstrtponvifparse.c
index f48ac0749..8ff4fa918 100644
--- a/gst/onvif/gstrtponvifparse.c
+++ b/gst/onvif/gstrtponvifparse.c
@@ -57,10 +57,10 @@ gst_rtp_onvif_parse_class_init (GstRtpOnvifParseClass * klass)
gstelement_class = GST_ELEMENT_CLASS (klass);
/* register pads */
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&sink_template_factory));
- gst_element_class_add_pad_template (gstelement_class,
- gst_static_pad_template_get (&src_template_factory));
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &sink_template_factory);
+ gst_element_class_add_static_pad_template (gstelement_class,
+ &src_template_factory);
gst_element_class_set_static_metadata (gstelement_class,
"ONVIF NTP timestamps RTP extension", "Effect/RTP",