mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 02:00:33 +00:00
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-base/-/merge_requests/717>
This commit is contained in:
parent
00bcf9d3e2
commit
fddd7df2d3
3 changed files with 0 additions and 6 deletions
|
@ -346,10 +346,6 @@ _create_video_mixer_input (GstGLMixerBin * self, GstPad * mixer_pad)
|
||||||
GST_OBJECT_NAME (mixer_pad), "direction", GST_PAD_DIRECTION (mixer_pad),
|
GST_OBJECT_NAME (mixer_pad), "direction", GST_PAD_DIRECTION (mixer_pad),
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
if (!gst_ghost_pad_construct (GST_GHOST_PAD (input))) {
|
|
||||||
gst_object_unref (input);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
#define ADD_BINDING(obj,ref,prop) \
|
#define ADD_BINDING(obj,ref,prop) \
|
||||||
gst_object_add_control_binding (GST_OBJECT (obj), \
|
gst_object_add_control_binding (GST_OBJECT (obj), \
|
||||||
gst_proxy_control_binding_new (GST_OBJECT (obj), prop, \
|
gst_proxy_control_binding_new (GST_OBJECT (obj), prop, \
|
||||||
|
|
|
@ -5223,7 +5223,6 @@ gst_decode_pad_new (GstDecodeBin * dbin, GstDecodeChain * chain)
|
||||||
dpad =
|
dpad =
|
||||||
g_object_new (GST_TYPE_DECODE_PAD, "direction", GST_PAD_SRC,
|
g_object_new (GST_TYPE_DECODE_PAD, "direction", GST_PAD_SRC,
|
||||||
"template", pad_tmpl, NULL);
|
"template", pad_tmpl, NULL);
|
||||||
gst_ghost_pad_construct (GST_GHOST_PAD_CAST (dpad));
|
|
||||||
dpad->chain = chain;
|
dpad->chain = chain;
|
||||||
dpad->dbin = dbin;
|
dpad->dbin = dbin;
|
||||||
gst_object_unref (pad_tmpl);
|
gst_object_unref (pad_tmpl);
|
||||||
|
|
|
@ -4201,7 +4201,6 @@ gst_parse_pad_new (GstParseBin * parsebin, GstParseChain * chain)
|
||||||
parsepad =
|
parsepad =
|
||||||
g_object_new (GST_TYPE_PARSE_PAD, "direction", GST_PAD_SRC,
|
g_object_new (GST_TYPE_PARSE_PAD, "direction", GST_PAD_SRC,
|
||||||
"template", pad_tmpl, NULL);
|
"template", pad_tmpl, NULL);
|
||||||
gst_ghost_pad_construct (GST_GHOST_PAD_CAST (parsepad));
|
|
||||||
parsepad->chain = chain;
|
parsepad->chain = chain;
|
||||||
parsepad->parsebin = parsebin;
|
parsepad->parsebin = parsebin;
|
||||||
gst_object_unref (pad_tmpl);
|
gst_object_unref (pad_tmpl);
|
||||||
|
|
Loading…
Reference in a new issue