From 424db0d3aea0ce26a35ba381b4e439f32e50c961 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Fri, 10 Jan 2003 10:22:25 +0000 Subject: 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 --- gst/chart/gstchart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/chart/gstchart.c') diff --git a/gst/chart/gstchart.c b/gst/chart/gstchart.c index 39fe7ad1..bbe57e86 100644 --- a/gst/chart/gstchart.c +++ b/gst/chart/gstchart.c @@ -213,7 +213,7 @@ gst_chart_init (GstChart *chart) gst_element_add_pad (GST_ELEMENT (chart), chart->srcpad); gst_pad_set_chain_function (chart->sinkpad, gst_chart_chain); - gst_pad_set_connect_function (chart->sinkpad, gst_chart_sinkconnect); + gst_pad_set_link_function (chart->sinkpad, gst_chart_sinkconnect); chart->next_time = 0; chart->peerpool = NULL; @@ -244,7 +244,7 @@ gst_chart_sinkconnect (GstPad *pad, GstCaps *caps) chart->samplerate); /*gst_chart_sync_parms (chart); */ /* */ - return GST_PAD_CONNECT_OK; + return GST_PAD_LINK_OK; } static void -- cgit v1.2.1