summaryrefslogtreecommitdiff
path: root/tests/sched
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-04-07 23:32:16 +0000
committerAndy Wingo <wingo@pobox.com>2002-04-07 23:32:16 +0000
commit70cfc6cb4db1ce5b0a9e1f4c7939cb9eb198358d (patch)
treeaee511b4cd9f35ffeed89d2201869e45fcf59201 /tests/sched
parent3cbe1bacd03f0356ac038e5bc9bb603666ae07d3 (diff)
new parser that uses flex and bison
Original commit message from CVS: * new parser that uses flex and bison - doesn't do dynamic pipelines yet... * added GErrors to the gst_parse_launch[v] api * added --gst-mask-help command line option * fixed -o option for gst-launch * GstElement api change: - gst_element_get_pad - gst_element_get_request_pad, gst_element_get_static_pad - gst_element_get_compatible_pad - gst_element_get_compatible_static_pad, gst_element_get_compatible_request_pad - gst_element_[dis]connect -> gst_element_[dis]connect_pads - gst_element_[dis]connect_elements -> gst_element_[dis]connect * manual update * example, tool, and doc updates for the api changes - no more plugin docs in the core docs, plugins require a more extensive doc system
Diffstat (limited to 'tests/sched')
-rw-r--r--tests/sched/dynamic-pipeline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/sched/dynamic-pipeline.c b/tests/sched/dynamic-pipeline.c
index 5b25770d1..baddae41b 100644
--- a/tests/sched/dynamic-pipeline.c
+++ b/tests/sched/dynamic-pipeline.c
@@ -25,7 +25,7 @@ int main (int argc, char *argv[])
/* make the first pipeline */
gst_bin_add (GST_BIN(pipe1), fakesrc);
gst_bin_add (GST_BIN(pipe1), fakesink1);
- gst_element_connect(fakesrc, "src", fakesink1, "sink");
+ gst_element_connect_pads (fakesrc, "src", fakesink1, "sink");
/* initialize cothreads */
gst_element_set_state(pipe1, GST_STATE_PLAYING);
@@ -33,7 +33,7 @@ int main (int argc, char *argv[])
gst_element_set_state(pipe1, GST_STATE_READY);
/* destroy the fakesink, but keep fakesrc (its state is GST_STATE_READY) */
- gst_element_disconnect(fakesrc, "src", fakesink1, "sink");
+ gst_element_disconnect_pads (fakesrc, "src", fakesink1, "sink");
gst_object_ref(GST_OBJECT(fakesrc));
gst_bin_remove(GST_BIN(pipe1), fakesrc);
gst_bin_remove(GST_BIN(pipe1), fakesink1);
@@ -44,7 +44,7 @@ int main (int argc, char *argv[])
/* don't change the new pipeline's state, it should change on the bin_add */
gst_bin_add (GST_BIN(pipe2), fakesrc);
- gst_element_connect(fakesrc, "src", fakesink2, "sink");
+ gst_element_connect_pads (fakesrc, "src", fakesink2, "sink");
/* show the pipeline state */
gst_xml_write_file (GST_ELEMENT (pipe2), stdout);