webrtcbin test: Fix race in new test
authorOlivier CrĂȘte <olivier.crete@collabora.com>
Mon, 21 Jun 2021 20:50:46 +0000 (16:50 -0400)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 24 Jun 2021 09:41:09 +0000 (09:41 +0000)
commit71052f032109b0d64e84ac2d75913090e57a39d0
tree9da52f727ee4c23b7b5c3ce409448478537633ba
parent85c17f6c233e177cb4e7c720056b56be4974468f
webrtcbin test: Fix race in new test

Pull a buffer from a sink to make sure that the caps are already
set before trying to update them.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2348>
tests/check/elements/webrtcbin.c