mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
tests/check/gst/gstbin.c: Allow refcount of 3 and 4 because some state thread might still be busy with it.
Original commit message from CVS: * tests/check/gst/gstbin.c: (GST_START_TEST): Allow refcount of 3 and 4 because some state thread might still be busy with it.
This commit is contained in:
parent
5c9c202e47
commit
74fb9f0fe2
2 changed files with 9 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2007-05-24 Wim Taymans <wim@fluendo.com>
|
||||
|
||||
* tests/check/gst/gstbin.c: (GST_START_TEST):
|
||||
Allow refcount of 3 and 4 because some state thread might still be busy
|
||||
with it.
|
||||
|
||||
2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
|
||||
|
||||
* plugins/elements/Makefile.am:
|
||||
|
|
|
@ -300,7 +300,9 @@ GST_START_TEST (test_message_state_changed_children)
|
|||
* base_sink_chain has taken a refcount on the sink, and is blocked on
|
||||
* preroll */
|
||||
ASSERT_OBJECT_REFCOUNT (src, "src", 3);
|
||||
ASSERT_OBJECT_REFCOUNT (sink, "sink", 3);
|
||||
/* refcount can be 4 if the bin is still processing the async_done message of
|
||||
* the sink. */
|
||||
ASSERT_OBJECT_REFCOUNT_BETWEEN (sink, "sink", 3, 4);
|
||||
/* 2 or 3 is valid, because the pipeline might still be posting
|
||||
* its state_change message */
|
||||
ASSERT_OBJECT_REFCOUNT_BETWEEN (pipeline, "pipeline", 2, 3);
|
||||
|
|
Loading…
Reference in a new issue