tests: use g_timeout_add_seconds in pipeline stress test

https://bugzilla.gnome.org/show_bug.cgi?id=692612
This commit is contained in:
B.Prathibha 2013-01-27 09:18:00 +05:30 committed by Tim-Philipp Müller
parent 10154e2f97
commit 9fddb6c3cd

View file

@ -66,7 +66,7 @@ GST_START_TEST (test_stress_preroll)
gst_element_set_state (pipeline, GST_STATE_PLAYING);
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) {
g_main_context_iteration (NULL, TRUE);