5 second timeout

Original commit message from CVS:
5 second timeout
This commit is contained in:
Thomas Vander Stichele 2006-04-01 10:15:33 +00:00
parent 9334cc2d02
commit e50a7b728b

View file

@ -54,8 +54,8 @@ main (int argc, char **argv)
gst_element_set_state (pipeline, GST_STATE_PLAYING);
/* We want to get out after */
g_timeout_add (500, (GSourceFunc) terminate_playback, pipeline);
/* We want to get out after 5 seconds */
g_timeout_add (5000, (GSourceFunc) terminate_playback, pipeline);
g_main_loop_run (loop);