rtspclientsink: Don't call gst_ghost_pad_construct() anymore
authorSebastian Dröge <sebastian@centricular.com>
Mon, 22 Jun 2020 09:33:32 +0000 (12:33 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Mon, 22 Jun 2020 09:33:32 +0000 (12:33 +0300)
It's deprecated, unneeded and doesn't do anything anymore.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/-/merge_requests/138>

gst/rtsp-sink/gstrtspclientsink.c

index 38536ce..59c2125 100644 (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);
 }