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 :-)
This commit is contained in:
Andy Wingo 2002-01-17 05:04:17 +00:00
parent 7b1d5c7abd
commit 3667900ec9

View 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)