Skip to content
Snippets Groups Projects
Commit 09b7ee1f authored by Vincent Penquerc'h's avatar Vincent Penquerc'h
Browse files

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.
parent 28a8893f
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,8 @@ setup_shm (void)
static void
teardown_shm (void)
{
fail_unless (gst_element_set_state (src, GST_STATE_NULL) ==
GST_STATE_CHANGE_SUCCESS);
gst_check_teardown_sink_pad (src);
gst_check_teardown_src_pad (sink);
gst_check_teardown_element (src);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment