mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
tests: use g_timeout_add_seconds in pipeline stress test
https://bugzilla.gnome.org/show_bug.cgi?id=692612
This commit is contained in:
parent
10154e2f97
commit
9fddb6c3cd
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ GST_START_TEST (test_stress_preroll)
|
||||||
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
gst_element_set_state (pipeline, GST_STATE_PLAYING);
|
||||||
|
|
||||||
g_timeout_add (500, &change_state_timeout, pipeline);
|
g_timeout_add (500, &change_state_timeout, pipeline);
|
||||||
g_timeout_add (10000, &quit_timeout, NULL);
|
g_timeout_add_seconds (10, &quit_timeout, NULL);
|
||||||
|
|
||||||
while (!quit) {
|
while (!quit) {
|
||||||
g_main_context_iteration (NULL, TRUE);
|
g_main_context_iteration (NULL, TRUE);
|
||||||
|
|
Loading…
Reference in a new issue