mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-30 13:41:48 +00:00
5 second timeout
Original commit message from CVS: 5 second timeout
This commit is contained in:
parent
bc54b55559
commit
e30b8b1c49
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