GNOME Bugzilla – Bug 772644
Fix level test in CK_FORK=no mode
Last modified: 2016-10-31 14:34:43 UTC
Created attachment 337268 [details] [review] patch 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.
Review of attachment 337268 [details] [review]: ::: tests/check/elements/level.c @@ -195,3 @@ ASSERT_OBJECT_REFCOUNT (bus, "bus", 1); gst_object_unref (bus); - gst_buffer_unref (outbuffer); Why do you not unref it anymore? Isn't it leaked now? (Also in the other places)
gst_check_drop_buffers unrefs all buffers in the global `buffers` list.
commit 22ced681af8a27bce0ce59a9db68c902e916390b Author: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com> Date: Sun Oct 9 15:23:51 2016 +0200 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