projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfb375d
)
check: Check whether threads are already initialised before g_thread_init()
author
Jan Schmidt
<thaytan@noraisin.net>
Sat, 18 Apr 2009 12:54:08 +0000
(13:54 +0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Sat, 18 Apr 2009 13:05:16 +0000
(14:05 +0100)
tests/check/elements/souphttpsrc.c
patch
|
blob
|
history
diff --git
a/tests/check/elements/souphttpsrc.c
b/tests/check/elements/souphttpsrc.c
index
ba20ab9
..
0112369
100644
(file)
--- a/
tests/check/elements/souphttpsrc.c
+++ b/
tests/check/elements/souphttpsrc.c
@@
-441,7
+441,8
@@
souphttpsrc_suite (void)
TCase *tc_chain, *tc_internet;
g_type_init ();
- g_thread_init (NULL);
+ if (!g_thread_supported ())
+ g_thread_init (NULL);
s = suite_create ("souphttpsrc");
tc_chain = tcase_create ("general");