[520/906] GstGLMixer: fix for GstChildProxy changes
authorMatthew Waters <ystreet00@gmail.com>
Sat, 7 Jul 2012 12:56:33 +0000 (22:56 +1000)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:24 +0000 (19:31 +0000)
gst-libs/gst/gl/gstglmixer.c

index f4e26c2..5a0d1bc 100644 (file)
@@ -1029,7 +1029,7 @@ gst_gl_mixer_request_new_pad (GstElement * element,
 
   /* add the pad to the element */
   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));
 
   return GST_PAD (mixpad);
@@ -1053,7 +1053,7 @@ gst_gl_mixer_release_pad (GstElement * element, GstPad * pad)
   mixpad = GST_GL_MIXER_PAD (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));
   mix->numpads--;