mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 19:20:35 +00:00
tools: Run g_thread_init() unconditionally
Since we define G_THREADS_MANDATORY, g_thread_supported() evaluates to TRUE unconditionally, so calling g_thread_init() never happened.
This commit is contained in:
parent
f3d579362c
commit
91b948589b
4 changed files with 4 additions and 8 deletions
|
@ -1489,8 +1489,7 @@ main (int argc, char *argv[])
|
|||
textdomain (GETTEXT_PACKAGE);
|
||||
#endif
|
||||
|
||||
if (!g_thread_supported ())
|
||||
g_thread_init (NULL);
|
||||
g_thread_init (NULL);
|
||||
|
||||
gst_tools_print_version ("gst-inspect");
|
||||
|
||||
|
|
|
@ -707,8 +707,7 @@ main (int argc, char *argv[])
|
|||
textdomain (GETTEXT_PACKAGE);
|
||||
#endif
|
||||
|
||||
if (!g_thread_supported ())
|
||||
g_thread_init (NULL);
|
||||
g_thread_init (NULL);
|
||||
|
||||
gst_tools_print_version ("gst-launch");
|
||||
|
||||
|
|
|
@ -153,8 +153,7 @@ main (int argc, char *argv[])
|
|||
textdomain (GETTEXT_PACKAGE);
|
||||
#endif
|
||||
|
||||
if (!g_thread_supported ())
|
||||
g_thread_init (NULL);
|
||||
g_thread_init (NULL);
|
||||
|
||||
gst_tools_print_version ("gst-typefind");
|
||||
|
||||
|
|
|
@ -637,8 +637,7 @@ main (int argc, char *argv[])
|
|||
|
||||
setlocale (LC_ALL, "");
|
||||
|
||||
if (!g_thread_supported ())
|
||||
g_thread_init (NULL);
|
||||
g_thread_init (NULL);
|
||||
|
||||
gst_tools_print_version ("gst-xmlinspect");
|
||||
|
||||
|
|
Loading…
Reference in a new issue