diff options
author | Thomas Vander Stichele <thomas@apestaart.org> | 2003-01-10 10:22:25 +0000 |
---|---|---|
committer | Thomas Vander Stichele <thomas@apestaart.org> | 2003-01-10 10:22:25 +0000 |
commit | be876ae57756d21690adfc29cc16c1791643be23 (patch) | |
tree | 0053f251da40d1b9ac828eda03d9900151fa5b47 /gst/effectv/gstshagadelic.c | |
parent | e116d853418a37824413fe6cb21c772fada744d3 (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/effectv/gstshagadelic.c')
-rw-r--r-- | gst/effectv/gstshagadelic.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/effectv/gstshagadelic.c b/gst/effectv/gstshagadelic.c index f401ac6d..63cc0a03 100644 --- a/gst/effectv/gstshagadelic.c +++ b/gst/effectv/gstshagadelic.c @@ -147,7 +147,7 @@ gst_shagadelictv_sinkconnect (GstPad * pad, GstCaps * caps) filter = GST_SHAGADELICTV (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); @@ -170,7 +170,7 @@ gst_shagadelictv_init (GstShagadelicTV * filter) { filter->sinkpad = gst_pad_new_from_template (gst_effectv_sink_factory (), "sink"); gst_pad_set_chain_function (filter->sinkpad, gst_shagadelictv_chain); - gst_pad_set_connect_function (filter->sinkpad, gst_shagadelictv_sinkconnect); + gst_pad_set_link_function (filter->sinkpad, gst_shagadelictv_sinkconnect); gst_element_add_pad (GST_ELEMENT (filter), filter->sinkpad); filter->srcpad = gst_pad_new_from_template (gst_effectv_src_factory (), "src"); |