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:
Wim Taymans 2005-07-19 14:52:59 +00:00
parent 737969ce5b
commit 5c875fadec
2 changed files with 7 additions and 1 deletions

View file

@ -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):

View file

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