Commit 63a41324 authored by Aaron Boxer's avatar Aaron Boxer Committed by Tim-Philipp Müller

discoverer: fix a race bug in disco test

parent a58bf5b5
......@@ -360,7 +360,7 @@ GST_START_TEST (test_disco_async_custom_context)
(GThreadFunc) custom_context_thread_func, &data);
g_mutex_lock (&data.lock);
while (data.finish)
while (!data.finish)
g_cond_wait (&data.cond, &data.lock);
g_mutex_unlock (&data.lock);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment