mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-22 16:26:39 +00:00
check: Check whether threads are already initialised before g_thread_init()
This commit is contained in:
parent
dfb375daa1
commit
06a4b80918
1 changed files with 2 additions and 1 deletions
|
@ -441,6 +441,7 @@ souphttpsrc_suite (void)
|
|||
TCase *tc_chain, *tc_internet;
|
||||
|
||||
g_type_init ();
|
||||
if (!g_thread_supported ())
|
||||
g_thread_init (NULL);
|
||||
|
||||
s = suite_create ("souphttpsrc");
|
||||
|
|
Loading…
Reference in a new issue