mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
rtspclientsink: use new gst_element_class_add_static_pad_template()
https://bugzilla.gnome.org/show_bug.cgi?id=763196
This commit is contained in:
parent
37a1ed5d16
commit
1796ce2f03
1 changed files with 1 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue