summaryrefslogtreecommitdiffstats
path: root/gst/median
diff options
context:
space:
mode:
authorThomas Vander Stichele <thomas@apestaart.org>2003-01-10 10:22:25 +0000
committerThomas Vander Stichele <thomas@apestaart.org>2003-01-10 10:22:25 +0000
commitbe876ae57756d21690adfc29cc16c1791643be23 (patch)
tree0053f251da40d1b9ac828eda03d9900151fa5b47 /gst/median
parente116d853418a37824413fe6cb21c772fada744d3 (diff)
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
Diffstat (limited to 'gst/median')
-rw-r--r--gst/median/gstmedian.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/median/gstmedian.c b/gst/median/gstmedian.c
index 6a20404a..4260b72b 100644
--- a/gst/median/gstmedian.c
+++ b/gst/median/gstmedian.c
@@ -133,7 +133,7 @@ gst_median_sinkconnect (GstPad *pad, GstCaps *caps)
filter = GST_MEDIAN (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);
@@ -146,7 +146,7 @@ void gst_median_init (GstMedian *median)
{
median->sinkpad = gst_pad_new_from_template (
GST_PAD_TEMPLATE_GET (median_sink_factory), "sink");
- gst_pad_set_connect_function (median->sinkpad, gst_median_sinkconnect);
+ gst_pad_set_link_function (median->sinkpad, gst_median_sinkconnect);
gst_pad_set_chain_function (median->sinkpad, gst_median_chain);
gst_element_add_pad (GST_ELEMENT (median), median->sinkpad);