harness: move creating of buffer and event queues to harness itself
authorHavard Graff <havard.graff@gmail.com>
Wed, 22 May 2019 08:09:47 +0000 (10:09 +0200)
committerHavard Graff <havard.graff@gmail.com>
Thu, 13 Jun 2019 07:45:03 +0000 (09:45 +0200)
commit229b4776ea2c680b114f3934538352e48275be51
treea2e0086a8a3b288de2acc1236b3dc52dfc88530a
parent604ea0e711e9846fd01edab6f6ce4274efb0a783
harness: move creating of buffer and event queues to harness itself

By only having it on sinkpad-creation, it is racy to write a test
with a sometimes-pad (like a demuxer) that you want to pull from, having
the pull wait until the pad arrives and the buffer can be produced.
libs/gst/check/gstharness.c