From 1796ce2f03f54f417ac72de8e8fdc6c0f02c11e5 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Mon, 7 Mar 2016 08:50:01 +0900 Subject: [PATCH] rtspclientsink: use new gst_element_class_add_static_pad_template() https://bugzilla.gnome.org/show_bug.cgi?id=763196 --- gst/rtsp-sink/gstrtspclientsink.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gst/rtsp-sink/gstrtspclientsink.c b/gst/rtsp-sink/gstrtspclientsink.c index aeb8342..52d2f78 100644 --- a/gst/rtsp-sink/gstrtspclientsink.c +++ b/gst/rtsp-sink/gstrtspclientsink.c @@ -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", -- 2.7.4