mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +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;
|
TCase *tc_chain, *tc_internet;
|
||||||
|
|
||||||
g_type_init ();
|
g_type_init ();
|
||||||
|
if (!g_thread_supported ())
|
||||||
g_thread_init (NULL);
|
g_thread_init (NULL);
|
||||||
|
|
||||||
s = suite_create ("souphttpsrc");
|
s = suite_create ("souphttpsrc");
|
||||||
|
|
Loading…
Reference in a new issue