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 bc54b55559
commit e30b8b1c49

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);