It's deprecated, unneeded and doesn't do anything anymore.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/717>
GST_OBJECT_NAME (mixer_pad), "direction", GST_PAD_DIRECTION (mixer_pad),
NULL);
- if (!gst_ghost_pad_construct (GST_GHOST_PAD (input))) {
- gst_object_unref (input);
- return NULL;
- }
#define ADD_BINDING(obj,ref,prop) \
gst_object_add_control_binding (GST_OBJECT (obj), \
gst_proxy_control_binding_new (GST_OBJECT (obj), prop, \
dpad =
g_object_new (GST_TYPE_DECODE_PAD, "direction", GST_PAD_SRC,
"template", pad_tmpl, NULL);
- gst_ghost_pad_construct (GST_GHOST_PAD_CAST (dpad));
dpad->chain = chain;
dpad->dbin = dbin;
gst_object_unref (pad_tmpl);
parsepad =
g_object_new (GST_TYPE_PARSE_PAD, "direction", GST_PAD_SRC,
"template", pad_tmpl, NULL);
- gst_ghost_pad_construct (GST_GHOST_PAD_CAST (parsepad));
parsepad->chain = chain;
parsepad->parsebin = parsebin;
gst_object_unref (pad_tmpl);