mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
tools/gst-launch.c: When we got an error, there is no point in waiting for preroll when shutting down.
Original commit message from CVS: * tools/gst-launch.c: (main): When we got an error, there is no point in waiting for preroll when shutting down.
This commit is contained in:
parent
4cc7b818fd
commit
94828d9ac6
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-07-03 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* tools/gst-launch.c: (main):
|
||||
When we got an error, there is no point in waiting for preroll when
|
||||
shutting down.
|
||||
|
||||
2007-07-03 Wim Taymans <wim.taymans@gmail.com>
|
||||
|
||||
* plugins/elements/gsttee.c: (gst_tee_base_init),
|
||||
|
|
|
@ -745,6 +745,7 @@ main (int argc, char *argv[])
|
|||
|
||||
fprintf (stderr, _("Setting pipeline to PAUSED ...\n"));
|
||||
gst_element_set_state (pipeline, GST_STATE_PAUSED);
|
||||
if (!caught_error)
|
||||
gst_element_get_state (pipeline, &state, &pending, GST_CLOCK_TIME_NONE);
|
||||
fprintf (stderr, _("Setting pipeline to READY ...\n"));
|
||||
gst_element_set_state (pipeline, GST_STATE_READY);
|
||||
|
|
Loading…
Reference in a new issue