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 | |
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
m--------- | common | 0 | ||||
-rw-r--r-- | examples/capsfilter/capsfilter1.c | 10 | ||||
-rw-r--r-- | gst/spectrum/demo-osssrc.c | 4 |
3 files changed, 7 insertions, 7 deletions
diff --git a/common b/common -Subproject 2c2bce01ed5ed1d1684bd76a334477398009ef4 +Subproject b5288e8215c6eacf0782880f6c5b6dea8f445a3 diff --git a/examples/capsfilter/capsfilter1.c b/examples/capsfilter/capsfilter1.c index 35e20469..4d71109f 100644 --- a/examples/capsfilter/capsfilter1.c +++ b/examples/capsfilter/capsfilter1.c @@ -13,7 +13,7 @@ new_pad_func (GstElement *element, GstPad *newpad, gpointer data) if (!strcmp (gst_pad_get_name (newpad), "video_00")) { gst_element_set_state (pipeline, GST_STATE_PAUSED); - gst_pad_connect (newpad, gst_element_get_pad (queue, "sink")); + gst_pad_link (newpad, gst_element_get_pad (queue, "sink")); gst_element_set_state (pipeline, GST_STATE_PLAYING); } } @@ -65,11 +65,11 @@ main (gint argc, gchar *argv[]) gst_bin_add (GST_BIN (thread), xvideosink); gst_bin_add (GST_BIN (pipeline), thread); - gst_element_connect (filesrc, "src", demux, "sink"); - gst_element_connect (queue, "src", mpeg2dec, "sink"); - gst_element_connect (mpeg2dec, "src", colorspace, "sink"); + gst_element_link (filesrc, "src", demux, "sink"); + gst_element_link (queue, "src", mpeg2dec, "sink"); + gst_element_link (mpeg2dec, "src", colorspace, "sink"); /* force RGB data passing between colorspace and xvideosink */ - res = gst_element_connect_filtered (colorspace, "src", xvideosink, "sink", + res = gst_element_link_filtered (colorspace, "src", xvideosink, "sink", GST_CAPS_NEW ( "filtercaps", "video/raw", 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(); |