projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
903bd78
)
pad: fix test raciness
author
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 13 Jul 2012 07:43:59 +0000
(09:43 +0200)
committer
Wim Taymans
<wim.taymans@collabora.co.uk>
Fri, 13 Jul 2012 07:43:59 +0000
(09:43 +0200)
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=679506
tests/check/gst/gstpad.c
patch
|
blob
|
history
diff --git
a/tests/check/gst/gstpad.c
b/tests/check/gst/gstpad.c
index
88f93fa
..
8c2c1de
100644
(file)
--- a/
tests/check/gst/gstpad.c
+++ b/
tests/check/gst/gstpad.c
@@
-1042,7
+1042,7
@@
test_pad_blocking_with_type (GstPadProbeType type)
/* wait for the block */
while (!gst_pad_is_blocking (pad)) {
- g_usleep (10000
0
);
+ g_usleep (10000);
}
/* stop with flushing */
@@
-1116,9
+1116,8
@@
test_queue_src_caps_notify (gboolean link_queue)
gst_pad_send_event (sink, gst_event_new_caps (caps));
gst_caps_unref (caps);
- g_usleep (10000);
-
- fail_unless (got_notify == TRUE);
+ while (got_notify == FALSE)
+ g_usleep (10000);
gst_element_set_state (queue, GST_STATE_NULL);