connect -> link

Original commit message from CVS:
connect -> link
This commit is contained in:
David I. Lehn 2003-01-10 03:31:53 +00:00
parent 41e3108995
commit 876d74a282
3 changed files with 6 additions and 6 deletions

2
common

@ -1 +1 @@
Subproject commit 86c508421de359776c4c2cb411a78c729330a250 Subproject commit 2a013c06fe9bf1379966cd12e6bf8c30915c5f12

View file

@ -22,8 +22,8 @@ int main (int argc, char *argv[])
gst_bin_add (GST_BIN (pipeline), thread); gst_bin_add (GST_BIN (pipeline), thread);
gst_bin_add (GST_BIN (pipeline), src); gst_bin_add (GST_BIN (pipeline), src);
gst_element_connect_pads (src, "src", queue, "sink"); gst_element_link_pads (src, "src", queue, "sink");
gst_element_connect_pads (queue, "src", sink, "sink"); gst_element_link_pads (queue, "src", sink, "sink");
gst_element_set_state (pipeline, GST_STATE_PLAYING); gst_element_set_state (pipeline, GST_STATE_PLAYING);
sleep (1); sleep (1);

View file

@ -25,9 +25,9 @@ int main (int argc, char *argv[])
gst_bin_add (GST_BIN (pipeline), thread); gst_bin_add (GST_BIN (pipeline), thread);
gst_bin_add (GST_BIN (pipeline), src); gst_bin_add (GST_BIN (pipeline), src);
gst_element_connect_pads (src, "src", queue, "sink"); gst_element_link_pads (src, "src", queue, "sink");
gst_element_connect_pads (queue, "src", identity, "sink"); gst_element_link_pads (queue, "src", identity, "sink");
gst_element_connect_pads (identity, "src", sink, "sink"); gst_element_link_pads (identity, "src", sink, "sink");
gst_element_set_state (pipeline, GST_STATE_PLAYING); gst_element_set_state (pipeline, GST_STATE_PLAYING);
sleep (1); sleep (1);