tests: use g_timeout_add_seconds in pipeline stress test
authorB.Prathibha <prathibhab@cdac.in>
Sun, 27 Jan 2013 03:48:00 +0000 (09:18 +0530)
committerTim-Philipp Müller <tim@centricular.net>
Sun, 27 Jan 2013 14:52:39 +0000 (14:52 +0000)
https://bugzilla.gnome.org/show_bug.cgi?id=692612

tests/check/pipelines/stress.c

index e3b68be..7c2d06e 100644 (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);