tests/check/pipelines/simple-launch-lines.c: Add timeout to _get_state() so we see which pipeline it is that causes t...
Original commit message from CVS: * tests/check/pipelines/simple-launch-lines.c: (run_pipeline): Add timeout to _get_state() so we see which pipeline it is that causes trouble on the gen64 build bot.
This commit is contained in:
parent
de735968c3
commit
fa970dfd46
@ -1,3 +1,9 @@
|
|||||||
|
2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
|
||||||
|
Add timeout to _get_state() so we see which pipeline it is
|
||||||
|
that causes trouble on the gen64 build bot.
|
||||||
|
|
||||||
2006-09-27 Wim Taymans <wim@fluendo.com>
|
2006-09-27 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst-libs/gst/rtp/gstbasertpdepayload.c:
|
* gst-libs/gst/rtp/gstbasertpdepayload.c:
|
||||||
|
@ -58,9 +58,12 @@ run_pipeline (GstElement * pipe, const gchar * descr,
|
|||||||
|
|
||||||
fail_if (gst_element_set_state (pipe, GST_STATE_PLAYING) ==
|
fail_if (gst_element_set_state (pipe, GST_STATE_PLAYING) ==
|
||||||
GST_STATE_CHANGE_FAILURE, "Could not set pipeline %s to playing", descr);
|
GST_STATE_CHANGE_FAILURE, "Could not set pipeline %s to playing", descr);
|
||||||
ret = gst_element_get_state (pipe, NULL, NULL, GST_CLOCK_TIME_NONE);
|
ret = gst_element_get_state (pipe, NULL, NULL, 10 * GST_SECOND);
|
||||||
if (ret != GST_STATE_CHANGE_SUCCESS) {
|
if (ret == GST_STATE_CHANGE_ASYNC) {
|
||||||
g_critical ("Couldn't set pipeline to PLAYING");
|
g_critical ("Pipeline '%s' failed to go to PLAYING fast enough", descr);
|
||||||
|
goto done;
|
||||||
|
} else if (ret != GST_STATE_CHANGE_SUCCESS) {
|
||||||
|
g_critical ("Pipeline '%s' failed to go into PLAYING state", descr);
|
||||||
goto done;
|
goto done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user