audioresample: Fix up test_live_switch
authorSebastian Dröge <sebastian@centricular.com>
Wed, 27 May 2020 16:08:45 +0000 (19:08 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 27 May 2020 17:06:08 +0000 (17:06 +0000)
commit71c937b565e2de7f29fee05d4dd14c6f3b11ec44
tree05fd207cd5788df3d37d71cbb73eb93dc57a73b8
parent44cd1c7a65294f817427949c9fa13fd03e664a23
audioresample: Fix up test_live_switch

Actually check that we get back all samples, which we didn't before
because no draining was happening. Also remove commented out 0.10 code
and related comments.

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