added a slightly new twist in dynamic-pipeline.c: I actually iterate the first pipeline.
authorAndy Wingo <wingo@pobox.com>
Thu, 17 Jan 2002 05:04:17 +0000 (05:04 +0000)
committerAndy Wingo <wingo@pobox.com>
Thu, 17 Jan 2002 05:04:17 +0000 (05:04 +0000)
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 :-)

tests/sched/dynamic-pipeline.c

index 48faaef..77d6213 100644 (file)
@@ -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)