mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-11 02:24:13 +00:00
tools/gst-launch.c: Don't block forever for the state change to complete, the pipeline already did with a sensible ti...
Original commit message from CVS: * tools/gst-launch.c: (check_intr), (event_loop), (main): Don't block forever for the state change to complete, the pipeline already did with a sensible timeout.
This commit is contained in:
parent
737969ce5b
commit
5c875fadec
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-07-19 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* tools/gst-launch.c: (check_intr), (event_loop), (main):
|
||||
Don't block forever for the state change to complete, the
|
||||
pipeline already did with a sensible timeout.
|
||||
|
||||
2005-07-19 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* gst/base/gstbasesrc.c: (gst_base_src_get_range):
|
||||
|
|
|
@ -293,8 +293,8 @@ check_intr (GstElement * pipeline)
|
|||
NULL, "pipeline interrupted");
|
||||
gst_bus_post (bus, message);
|
||||
|
||||
/* pipeline will wait for element to go to PAUSED */
|
||||
gst_element_set_state (pipeline, GST_STATE_PAUSED);
|
||||
gst_element_get_state (pipeline, NULL, NULL, NULL);
|
||||
g_print ("Pipeline paused.\n");
|
||||
|
||||
gst_object_unref (bus);
|
||||
|
|
Loading…
Reference in a new issue