mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-27 10:40:34 +00:00
tests/check/gst/gstbin.c: Wait for refcount to settle down before checking.
Original commit message from CVS: * tests/check/gst/gstbin.c: (GST_START_TEST): Wait for refcount to settle down before checking.
This commit is contained in:
parent
6f658cf690
commit
1071a5979d
3 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-01-30 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* tests/check/gst/gstbin.c: (GST_START_TEST):
|
||||
Wait for refcount to settle down before checking.
|
||||
|
||||
2006-01-30 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* docs/design/part-element-sink.txt:
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit bc4325349e8d0ec90aa5c5e74566880cc2e82527
|
||||
Subproject commit 0b93085188e83fe678ec5ded2823cd7c24dfa843
|
|
@ -568,6 +568,9 @@ GST_START_TEST (test_children_state_change_order_flagged_sink)
|
|||
pop_messages (bus, 4); /* pop playing => paused messages off the bus */
|
||||
pop_messages (bus, 4); /* pop paused => ready messages off the bus */
|
||||
|
||||
while (GST_OBJECT_REFCOUNT_VALUE (pipeline) > 1)
|
||||
THREAD_SWITCH ();
|
||||
|
||||
ASSERT_OBJECT_REFCOUNT (src, "src", 1);
|
||||
ASSERT_OBJECT_REFCOUNT (sink, "sink", 1);
|
||||
ASSERT_OBJECT_REFCOUNT (pipeline, "pipeline", 1);
|
||||
|
|
Loading…
Reference in a new issue