audioresample: Add new test that checks for downstream renegotiation
authorSebastian Dröge <sebastian@centricular.com>
Wed, 27 May 2020 16:59:56 +0000 (19:59 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 27 May 2020 17:06:08 +0000 (17:06 +0000)
commit896608317890021502d29197990a1147990c8e26
treebb0e915ae9937bdb287d2248eda2d7c6b72e48b6
parent71c937b565e2de7f29fee05d4dd14c6f3b11ec44
audioresample: Add new test that checks for downstream renegotiation

This test always consumes 48kHz and outputs different sample rates based
on downstream renegotiation. Previously this would produce completely
wrong timestamps and not output all samples.

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