summaryrefslogtreecommitdiff
path: root/tests/sched
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2002-01-17 05:04:17 +0000
committerAndy Wingo <wingo@pobox.com>2002-01-17 05:04:17 +0000
commit3667900ec925e51958407b5155a7227332159e1d (patch)
tree77a160fc71e906c4bbabefe4a8939870997204c5 /tests/sched
parent7b1d5c7abdc1d200bb72636c0b57d6445e715270 (diff)
added a slightly new twist in dynamic-pipeline.c: I actually iterate the first pipeline.
Original commit message from CVS: added a slightly new twist in dynamic-pipeline.c: I actually iterate the first pipeline. this causes a segfault (at least on my machine, i've been having link issues today though). if a scheduler wizard (ahem) could take at glance at this, i'd be eternally grateful :-)
Diffstat (limited to 'tests/sched')
-rw-r--r--tests/sched/dynamic-pipeline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/sched/dynamic-pipeline.c b/tests/sched/dynamic-pipeline.c
index 48faaefc3..77d6213c9 100644
--- a/tests/sched/dynamic-pipeline.c
+++ b/tests/sched/dynamic-pipeline.c
@@ -24,6 +24,7 @@ int main (int argc, char *argv[])
// initialize cothreads
gst_element_set_state(pipe1, GST_STATE_PLAYING);
+ gst_bin_iterate (GST_BIN (pipe1));
gst_element_set_state(pipe1, GST_STATE_READY);
// destroy the fakesink, but keep fakesrc (its state is GST_STATE_READY)