make test actually stop

Original commit message from CVS:
make test actually stop
This commit is contained in:
Thomas Vander Stichele 2004-12-21 12:00:18 +00:00
parent 4a5cb18caa
commit 6e094b166d
2 changed files with 4 additions and 4 deletions

View file

@ -20,14 +20,14 @@ main (int argc, char **argv)
gst_init (&argc, &argv);
for (i = 0; i < 100; i++) {
for (i = 0; i < 20; i++) {
bin = gst_element_factory_make ("bin", "bin");
gst_scheduler_factory_make (NULL, GST_ELEMENT (bin));
g_thread_create ((GThreadFunc) iterate_bin, bin, TRUE, NULL);
}
sleep (20000);
sleep (5);
return 0;
}

View file

@ -20,14 +20,14 @@ main (int argc, char **argv)
gst_init (&argc, &argv);
for (i = 0; i < 100; i++) {
for (i = 0; i < 20; i++) {
bin = gst_element_factory_make ("bin", "bin");
gst_scheduler_factory_make (NULL, GST_ELEMENT (bin));
g_thread_create ((GThreadFunc) iterate_bin, bin, TRUE, NULL);
}
sleep (20000);
sleep (5);
return 0;
}