play: tests: Refactor to use new Message bus API
authorPhilippe Normand <philn@igalia.com>
Sat, 14 Nov 2020 10:56:51 +0000 (10:56 +0000)
committerPhilippe Normand <philn@igalia.com>
Tue, 9 Mar 2021 18:03:48 +0000 (18:03 +0000)
commit3eec2f4be8a2d20665e479af26b76bda6b25c134
tree5cc780942de5839bd757e70ceb26f7fb7ccb2064
parent19d57dcfa5b3bdb8442fc780927ca8572cee607a
play: tests: Refactor to use new Message bus API

Instead of relying on an extra GMainLoop, the messages are poped from the player
bus and handled synchronously. This should avoid flaky behaviors.

Fixes #608

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2061>
meson_options.txt
tests/check/libs/play.c [moved from tests/check/libs/player.c with 56% similarity]
tests/check/meson.build