tests: appsrc: Fix unstable test case
authorSeungha Yang <seungha@centricular.com>
Mon, 14 Sep 2020 11:01:18 +0000 (20:01 +0900)
committerSeungha Yang <seungha@centricular.com>
Wed, 14 Oct 2020 10:57:19 +0000 (10:57 +0000)
commit615b1ac5798475bb1666d7952beab5c5f1033b2c
tree2fcb4fdf2585b26a6d12d192f2ba7fa0b3e29eaa
parent23189c60f4cff998c7880e1768cee2f6d1b719d0
tests: appsrc: Fix unstable test case

Wait all buffers to be consumed before sending flush seek event,
so that checking timestamp and segment as expected.

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