From be876ae57756d21690adfc29cc16c1791643be23 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 10 Jan 2003 10:22:25 +0000 Subject: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so t... Original commit message from CVS: another batch of connect->link fixes please let me know about issues and please refrain of making them yourself, so that I don't spend double the time resolving conflicts --- gst/goom/gstgoom.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/goom/gstgoom.c') diff --git a/gst/goom/gstgoom.c b/gst/goom/gstgoom.c index c5733960..0e7f3bb5 100644 --- a/gst/goom/gstgoom.c +++ b/gst/goom/gstgoom.c @@ -194,7 +194,7 @@ gst_goom_init (GstGOOM *goom) gst_element_add_pad (GST_ELEMENT (goom), goom->srcpad); gst_pad_set_chain_function (goom->sinkpad, gst_goom_chain); - gst_pad_set_connect_function (goom->sinkpad, gst_goom_sinkconnect); + gst_pad_set_link_function (goom->sinkpad, gst_goom_sinkconnect); goom->next_time = 0; goom->peerpool = NULL; @@ -214,10 +214,10 @@ gst_goom_sinkconnect (GstPad *pad, GstCaps *caps) goom = GST_GOOM (gst_pad_get_parent (pad)); if (!GST_CAPS_IS_FIXED (caps)) { - return GST_PAD_CONNECT_DELAYED; + return GST_PAD_LINK_DELAYED; } - return GST_PAD_CONNECT_OK; + return GST_PAD_LINK_OK; } static void -- cgit