[520/906] GstGLMixer: fix for GstChildProxy changes

This commit is contained in:
Matthew Waters 2012-07-07 22:56:33 +10:00
parent 08349cff6d
commit 3ff83c0f37

View file

@ -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--;