tests: Fix level test in CK_FORK=no mode
authorJan Alexander Steffens (heftig) <jan.steffens@gmail.com>
Sun, 9 Oct 2016 13:23:51 +0000 (15:23 +0200)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 20 Oct 2016 10:23:30 +0000 (13:23 +0300)
commit22ced681af8a27bce0ce59a9db68c902e916390b
tree043ae2a9aaa0532985d038183c41919ca7f6f39c
parent1950b72e2b6a9b4d2dc6799c0694ab1f5b0c1ef6
tests: Fix level test in CK_FORK=no mode

The tests accumulate buffers in GstCheck's buffers list, and the list is
not (consistently) reset between tests. Do that and remove the now
conflicting unrefs for outbuffers.

https://bugzilla.gnome.org/show_bug.cgi?id=772644
tests/check/elements/level.c