mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 19:21:06 +00:00
tests/check/gst/gstbin.c: Adjust the test to the refcount change two days ago.
Original commit message from CVS: * tests/check/gst/gstbin.c: Adjust the test to the refcount change two days ago.
This commit is contained in:
parent
4d3b690232
commit
42e6f9e77c
2 changed files with 9 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-12-15 Stefan Kost <ensonic@users.sf.net>
|
||||
|
||||
* tests/check/gst/gstbin.c:
|
||||
Adjust the test to the refcount change two days ago.
|
||||
|
||||
2007-12-14 David Schleef <ds@schleef.org>
|
||||
|
||||
* docs/faq/getting.xml: Fix typo.
|
||||
|
|
|
@ -299,10 +299,10 @@ GST_START_TEST (test_message_state_changed_children)
|
|||
* base_src is blocked in the push and has an extra refcount.
|
||||
* base_sink_chain has taken a refcount on the sink, and is blocked on
|
||||
* preroll */
|
||||
ASSERT_OBJECT_REFCOUNT (src, "src", 3);
|
||||
ASSERT_OBJECT_REFCOUNT (src, "src", 2);
|
||||
/* 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);
|
||||
ASSERT_OBJECT_REFCOUNT_BETWEEN (sink, "sink", 2, 3);
|
||||
/* 2 or 3 is valid, because the pipeline might still be posting
|
||||
* its state_change message */
|
||||
ASSERT_OBJECT_REFCOUNT_BETWEEN (pipeline, "pipeline", 2, 3);
|
||||
|
@ -312,8 +312,8 @@ GST_START_TEST (test_message_state_changed_children)
|
|||
fail_if ((gst_bus_pop (bus)) != NULL);
|
||||
|
||||
ASSERT_OBJECT_REFCOUNT (bus, "bus", 2);
|
||||
ASSERT_OBJECT_REFCOUNT (src, "src", 2);
|
||||
ASSERT_OBJECT_REFCOUNT (sink, "sink", 2);
|
||||
ASSERT_OBJECT_REFCOUNT (src, "src", 1);
|
||||
ASSERT_OBJECT_REFCOUNT (sink, "sink", 1);
|
||||
ASSERT_OBJECT_REFCOUNT (pipeline, "pipeline", 1);
|
||||
|
||||
/* change state to PLAYING, spawning three messages */
|
||||
|
|
Loading…
Reference in a new issue