Commit graph

6 commits

Author SHA1 Message Date
Doug Nazar
a1535a4dc3 tests: fix shm test deadlock
Stopping the consumer first would occasionally allow the producer
to fill the shm segment causing it to block in send() and unable
to be stopped.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2158>
2021-04-13 11:59:35 +00:00
Josep Torra
3f83205399 tests: shm: add an end to end test for live reception
Add a unit test to exchange data between two pipelines with shmsrc
acting as a live source.

https://bugzilla.gnome.org/show_bug.cgi?id=797203
2018-10-10 13:42:05 -04:00
Olivier Crête
e72f0eadd8 tests: Take account of memory alignment in shm test 2014-06-02 21:51:38 -04:00
Vincent Penquerc'h
8a8a02e756 tests: fix shm test deadlock
The test was not bringing the source back to NULL, so its thread
could start creating a buffer while the pads were being shutdown.
2014-04-07 13:00:21 +01:00
Sebastian Dröge
214c0d2e71 shm: Fix event handling in unit test 2013-05-15 10:22:44 +02:00
Olivier Crête
1bf472f0cd tests: Add unit tests for shmsink/shmsrc 2013-03-01 15:58:40 -05:00