summaryrefslogtreecommitdiffstats
path: root/gst/spectrum/demo-osssrc.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst/spectrum/demo-osssrc.c')
-rw-r--r--gst/spectrum/demo-osssrc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/spectrum/demo-osssrc.c b/gst/spectrum/demo-osssrc.c
index 1bd63ed4..3431ec91 100644
--- a/gst/spectrum/demo-osssrc.c
+++ b/gst/spectrum/demo-osssrc.c
@@ -37,13 +37,13 @@ int main(int argc,char *argv[]) {
gst_bin_add(GST_BIN(bin),GST_ELEMENT(src));
gst_bin_add(GST_BIN(bin),GST_ELEMENT(spectrum));
- gst_pad_connect(gst_element_get_pad(src,"src"),
+ gst_pad_link(gst_element_get_pad(src,"src"),
gst_element_get_pad(spectrum,"sink"));
spectrumpad = gst_pad_new("sink",GST_PAD_SINK);
gst_pad_set_chain_function(spectrumpad,spectrum_chain);
- gst_pad_connect(gst_element_get_pad(spectrum,"src"),spectrumpad);
+ gst_pad_link(gst_element_get_pad(spectrum,"src"),spectrumpad);
appwindow = gnome_app_new("spectrum","Spectrum");
drawingarea = gtk_drawing_area_new();