From: Wim Taymans Date: Tue, 19 Jul 2005 14:52:59 +0000 (+0000) Subject: tools/gst-launch.c: Don't block forever for the state change to complete, the pipelin... X-Git-Tag: RELEASE-0_9_2~206 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c875fadec4d3a9b0c2b19696ecd1bc5c43a4487;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ChangeLog b/ChangeLog index 4f76b28..42acdcd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2005-07-19 Wim Taymans + * 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 + * gst/base/gstbasesrc.c: (gst_base_src_get_range): Make sure we never call the create function is we got deactivated. diff --git a/tools/gst-launch.c b/tools/gst-launch.c index 9fc6c73..b0fe2c8 100644 --- a/tools/gst-launch.c +++ b/tools/gst-launch.c @@ -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);