Skip to content

tests: fix shm test deadlock

Doug Nazar requested to merge dougnazar/gst-plugins-bad:fix_shm_test into master

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.

This is the easy fix and works around the issue. Probably the correct long term fix is to shutdown/signal the pipe on stop or something but I started to get lost trying to figure out all the pieces. If somebody can easily fix that or point me in the correct location I'll take another look.

Merge request reports