From 424db0d3aea0ce26a35ba381b4e439f32e50c961 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/smooth/gstsmooth.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gst/smooth/gstsmooth.c') diff --git a/gst/smooth/gstsmooth.c b/gst/smooth/gstsmooth.c index 6b3f1a43..0a130024 100644 --- a/gst/smooth/gstsmooth.c +++ b/gst/smooth/gstsmooth.c @@ -136,12 +136,12 @@ gst_smooth_sinkconnect (GstPad *pad, GstCaps *caps) filter = GST_SMOOTH (gst_pad_get_parent (pad)); if (!GST_CAPS_IS_FIXED (caps)) - return GST_PAD_CONNECT_DELAYED; + return GST_PAD_LINK_DELAYED; gst_caps_get_int (caps, "width", &filter->width); gst_caps_get_int (caps, "height", &filter->height); - return GST_PAD_CONNECT_OK; + return GST_PAD_LINK_OK; } static void @@ -149,7 +149,7 @@ gst_smooth_init (GstSmooth *smooth) { smooth->sinkpad = gst_pad_new_from_template ( GST_PAD_TEMPLATE_GET (smooth_sink_factory), "sink"); - gst_pad_set_connect_function (smooth->sinkpad, gst_smooth_sinkconnect); + gst_pad_set_link_function (smooth->sinkpad, gst_smooth_sinkconnect); gst_pad_set_chain_function (smooth->sinkpad, gst_smooth_chain); gst_element_add_pad (GST_ELEMENT (smooth), smooth->sinkpad); -- cgit v1.2.1