rtspclientsink: Don't call gst_ghost_pad_construct() anymore

It's deprecated, unneeded and doesn't do anything anymore.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/138>
This commit is contained in:
Sebastian Dröge 2020-06-22 12:33:32 +03:00
parent 7174f04103
commit 1c74592806

View file

@ -227,7 +227,6 @@ gst_rtsp_client_sink_pad_new (const GstPadTemplate * pad_tmpl,
ret =
g_object_new (GST_TYPE_RTSP_CLIENT_SINK_PAD, "direction", GST_PAD_SINK,
"template", pad_tmpl, "name", name, NULL);
gst_ghost_pad_construct (GST_GHOST_PAD_CAST (ret));
return GST_PAD (ret);
}