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/law | |
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/law')
-rw-r--r-- | gst/law/mulaw-decode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/law/mulaw-decode.c b/gst/law/mulaw-decode.c index 3585a9cb..b36325f0 100644 --- a/gst/law/mulaw-decode.c +++ b/gst/law/mulaw-decode.c @@ -54,7 +54,7 @@ mulawdec_connect_sink (GstPad *pad, GstCaps *caps) GstMuLawDec* mulawdec=GST_MULAWDEC (GST_OBJECT_PARENT (pad)); if (caps==NULL) - return GST_PAD_CONNECT_REFUSED; + return GST_PAD_LINK_REFUSED; newcaps = gst_caps_copy(caps); @@ -66,7 +66,7 @@ mulawdec_connect_sink (GstPad *pad, GstCaps *caps) if (GST_CAPS_IS_FIXED (newcaps)) return gst_pad_try_set_caps (mulawdec->srcpad, newcaps); - return GST_PAD_CONNECT_DELAYED; + return GST_PAD_LINK_DELAYED; } GType @@ -109,7 +109,7 @@ gst_mulawdec_init (GstMuLawDec *mulawdec) { mulawdec->sinkpad = gst_pad_new_from_template(mulawdec_sink_template,"sink"); mulawdec->srcpad = gst_pad_new_from_template(mulawdec_src_template,"src"); - gst_pad_set_connect_function(mulawdec->sinkpad, mulawdec_connect_sink); + gst_pad_set_link_function(mulawdec->sinkpad, mulawdec_connect_sink); gst_element_add_pad(GST_ELEMENT(mulawdec),mulawdec->sinkpad); gst_pad_set_chain_function(mulawdec->sinkpad,gst_mulawdec_chain); |