GNOME Bugzilla – Bug 317470
[GstCheck] gst_check_teardown_element asserts wrong refcount
Last modified: 2006-06-29 14:58:41 UTC
gst_check_teardown_element uses ASSERT_OBJECT_REFCOUNT (element, "element", 1) before the element is disposed. If the element has a bus, it is unref'fed during the element disposal. Since the bus could contain queued messages having the same element as source, the refcount could be > 1.
we could fix this by flushing the bus ourselves. do you have a concrete example I can work with ?
gst-plugins-good/check/elements/level.c doesn't clean up the element since that would make the test fail. Flushing the bus before cleaning up the element makes the test succeed.
I don't understand this -- how is cleanup_level called in the first place? Thomas any clue?
cleanup_level should be called at the end of each test case
ping? :)
never seen this fail on the buildbots. closing.
It's never seen on the buildbots because the code is not actually activated - which is what is being said in the bug report. retargeting and assigning to me.