rtspclientsink: use new gst_element_class_add_static_pad_template()

https://bugzilla.gnome.org/show_bug.cgi?id=763196
This commit is contained in:
Vineeth TM 2016-03-07 08:50:01 +09:00 committed by Sebastian Dröge
parent 37a1ed5d16
commit 1796ce2f03

View file

@ -612,8 +612,7 @@ gst_rtsp_client_sink_class_init (GstRTSPClientSinkClass * klass)
gstelement_class->release_pad =
GST_DEBUG_FUNCPTR (gst_rtsp_client_sink_release_pad);
gst_element_class_add_pad_template (gstelement_class,
gst_static_pad_template_get (&rtptemplate));
gst_element_class_add_static_pad_template (gstelement_class, &rtptemplate);
gst_element_class_set_static_metadata (gstelement_class,
"RTSP RECORD client", "Sink/Network",