mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +00:00
webrtcbin: 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-plugins-bad/-/merge_requests/1360>
This commit is contained in:
parent
652773de36
commit
aa01e6ba22
1 changed files with 0 additions and 5 deletions
|
@ -311,11 +311,6 @@ gst_webrtc_bin_pad_new (const gchar * name, GstPadDirection direction)
|
||||||
|
|
||||||
gst_pad_set_event_function (GST_PAD (pad), gst_webrtcbin_sink_event);
|
gst_pad_set_event_function (GST_PAD (pad), gst_webrtcbin_sink_event);
|
||||||
|
|
||||||
if (!gst_ghost_pad_construct (GST_GHOST_PAD (pad))) {
|
|
||||||
gst_object_unref (pad);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
GST_DEBUG_OBJECT (pad, "new visible pad with direction %s",
|
GST_DEBUG_OBJECT (pad, "new visible pad with direction %s",
|
||||||
direction == GST_PAD_SRC ? "src" : "sink");
|
direction == GST_PAD_SRC ? "src" : "sink");
|
||||||
return pad;
|
return pad;
|
||||||
|
|
Loading…
Reference in a new issue