diff options
Diffstat (limited to 'gst/filter/gstiir.c')
-rw-r--r-- | gst/filter/gstiir.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/filter/gstiir.c b/gst/filter/gstiir.c index 0176a3ba..7f447f77 100644 --- a/gst/filter/gstiir.c +++ b/gst/filter/gstiir.c @@ -148,7 +148,7 @@ gst_iir_init (GstIIR * filter) { filter->sinkpad = gst_pad_new_from_template (gst_filter_sink_factory (), "sink"); gst_pad_set_chain_function (filter->sinkpad, gst_iir_chain); - gst_pad_set_connect_function (filter->sinkpad, gst_iir_sink_connect); + gst_pad_set_link_function (filter->sinkpad, gst_iir_sink_connect); gst_element_add_pad (GST_ELEMENT (filter), filter->sinkpad); filter->srcpad = gst_pad_new_from_template (gst_filter_src_factory (), "src"); @@ -170,7 +170,7 @@ gst_iir_sink_connect (GstPad * pad, GstCaps * caps) filter = GST_IIR (gst_pad_get_parent (pad)); if (!GST_CAPS_IS_FIXED (caps)) - return GST_PAD_CONNECT_DELAYED; + return GST_PAD_LINK_DELAYED; set_retval = gst_pad_try_set_caps(filter->srcpad, caps); if (set_retval > 0) { |