diff options
author | David Schleef <ds@schleef.org> | 2003-12-02 02:28:13 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2003-12-02 02:28:13 +0000 |
commit | 6828fe256759d618339f7f7aa0267bfa3f70e190 (patch) | |
tree | 9729fde21d3407a8bfb6b5ed1f1e95df6f4b1a42 /gst/spectrum/demo-osssrc.c | |
parent | 0b56bcf40cabff2df2e0959499ab746ada8c9566 (diff) | |
download | gst-plugins-bad-6828fe256759d618339f7f7aa0267bfa3f70e190.tar.gz gst-plugins-bad-6828fe256759d618339f7f7aa0267bfa3f70e190.tar.bz2 gst-plugins-bad-6828fe256759d618339f7f7aa0267bfa3f70e190.zip |
change _connect to _link
Original commit message from CVS:
change _connect to _link
Diffstat (limited to 'gst/spectrum/demo-osssrc.c')
-rw-r--r-- | gst/spectrum/demo-osssrc.c | 4 |
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(); |