mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-08 18:39:54 +00:00
[520/906] GstGLMixer: fix for GstChildProxy changes
This commit is contained in:
parent
08349cff6d
commit
3ff83c0f37
1 changed files with 2 additions and 2 deletions
|
@ -1029,7 +1029,7 @@ gst_gl_mixer_request_new_pad (GstElement * element,
|
||||||
|
|
||||||
/* add the pad to the element */
|
/* add the pad to the element */
|
||||||
gst_element_add_pad (element, GST_PAD (mixpad));
|
gst_element_add_pad (element, GST_PAD (mixpad));
|
||||||
gst_child_proxy_child_added (G_OBJECT (mix), G_OBJECT (mixpad),
|
gst_child_proxy_child_added (GST_CHILD_PROXY (mix), G_OBJECT (mixpad),
|
||||||
GST_OBJECT_NAME (mixpad));
|
GST_OBJECT_NAME (mixpad));
|
||||||
|
|
||||||
return GST_PAD (mixpad);
|
return GST_PAD (mixpad);
|
||||||
|
@ -1053,7 +1053,7 @@ gst_gl_mixer_release_pad (GstElement * element, GstPad * pad)
|
||||||
mixpad = GST_GL_MIXER_PAD (pad);
|
mixpad = GST_GL_MIXER_PAD (pad);
|
||||||
|
|
||||||
mix->sinkpads = g_slist_remove (mix->sinkpads, pad);
|
mix->sinkpads = g_slist_remove (mix->sinkpads, pad);
|
||||||
gst_child_proxy_child_removed (G_OBJECT (mix), G_OBJECT (mixpad),
|
gst_child_proxy_child_removed (GST_CHILD_PROXY (mix), G_OBJECT (mixpad),
|
||||||
GST_OBJECT_NAME (mixpad));
|
GST_OBJECT_NAME (mixpad));
|
||||||
mix->numpads--;
|
mix->numpads--;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue