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 /ext/esd | |
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 'ext/esd')
-rw-r--r-- | ext/esd/esdsink.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/esd/esdsink.c b/ext/esd/esdsink.c index 117de5a1..8c1daae0 100644 --- a/ext/esd/esdsink.c +++ b/ext/esd/esdsink.c @@ -193,7 +193,7 @@ gst_esdsink_init(GstEsdsink *esdsink) GST_PAD_TEMPLATE_GET (sink_factory), "sink"); gst_element_add_pad(GST_ELEMENT(esdsink), esdsink->sinkpad); gst_pad_set_chain_function(esdsink->sinkpad, GST_DEBUG_FUNCPTR(gst_esdsink_chain)); - gst_pad_set_connect_function(esdsink->sinkpad, gst_esdsink_sinkconnect); + gst_pad_set_link_function(esdsink->sinkpad, gst_esdsink_sinkconnect); esdsink->mute = FALSE; esdsink->fd = -1; @@ -226,16 +226,16 @@ gst_esdsink_sinkconnect (GstPad *pad, GstCaps *caps) esdsink = GST_ESDSINK (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, "depth", &esdsink->depth); gst_caps_get_int (caps, "channels", &esdsink->channels); gst_caps_get_int (caps, "rate", &esdsink->frequency); if (gst_esdsink_sync_parms (esdsink)) - return GST_PAD_CONNECT_OK; + return GST_PAD_LINK_OK; - return GST_PAD_CONNECT_REFUSED; + return GST_PAD_LINK_REFUSED; } static void |