mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 08:17:01 +00:00
make test actually stop
Original commit message from CVS: make test actually stop
This commit is contained in:
parent
4a5cb18caa
commit
6e094b166d
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue