mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
5 second timeout
Original commit message from CVS: 5 second timeout
This commit is contained in:
parent
9334cc2d02
commit
e50a7b728b
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue