mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
connect -> link
Original commit message from CVS: connect -> link
This commit is contained in:
parent
41e3108995
commit
876d74a282
3 changed files with 6 additions and 6 deletions
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit 86c508421de359776c4c2cb411a78c729330a250
|
||||
Subproject commit 2a013c06fe9bf1379966cd12e6bf8c30915c5f12
|
|
@ -22,8 +22,8 @@ int main (int argc, char *argv[])
|
|||
gst_bin_add (GST_BIN (pipeline), thread);
|
||||
gst_bin_add (GST_BIN (pipeline), src);
|
||||
|
||||
gst_element_connect_pads (src, "src", queue, "sink");
|
||||
gst_element_connect_pads (queue, "src", sink, "sink");
|
||||
gst_element_link_pads (src, "src", queue, "sink");
|
||||
gst_element_link_pads (queue, "src", sink, "sink");
|
||||
|
||||
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
||||
sleep (1);
|
||||
|
|
|
@ -25,9 +25,9 @@ int main (int argc, char *argv[])
|
|||
gst_bin_add (GST_BIN (pipeline), thread);
|
||||
gst_bin_add (GST_BIN (pipeline), src);
|
||||
|
||||
gst_element_connect_pads (src, "src", queue, "sink");
|
||||
gst_element_connect_pads (queue, "src", identity, "sink");
|
||||
gst_element_connect_pads (identity, "src", sink, "sink");
|
||||
gst_element_link_pads (src, "src", queue, "sink");
|
||||
gst_element_link_pads (queue, "src", identity, "sink");
|
||||
gst_element_link_pads (identity, "src", sink, "sink");
|
||||
|
||||
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
||||
sleep (1);
|
||||
|
|
Loading…
Reference in a new issue