glmixer: Fix unit test to actually work reliably
authorSebastian Dröge <sebastian@centricular.com>
Thu, 10 Sep 2020 11:19:04 +0000 (14:19 +0300)
committerSebastian Dröge <sebastian@centricular.com>
Thu, 10 Sep 2020 11:19:04 +0000 (14:19 +0300)
commit40a1e0174051e0da79871fc2882b3f5f2b68fa93
treec6a15dfb0dd362f6c7d40a31de8de91522b06732
parent9ccc3dbd6f0a5f793da436a21e982753a28323b0
glmixer: Fix unit test to actually work reliably

Don't run the harness in live mode, or otherwise it would output frames
already in the very beginning before a buffer was provided to it due to
timeout.

Also send EOS/a second buffer before pulling a buffer as videoaggregator
has one frame of latency.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/812>
tests/check/elements/glmixer.c