Commit b3eafe67 authored by Tim-Philipp Müller's avatar Tim-Philipp Müller 🐠

tools/: Call g_thread_init() really really early, before any other GLib...

tools/: Call g_thread_init() really really early, before any other GLib function (see #342564 and recent discussion o...

Original commit message from CVS:
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-typefind.c: (main):
* tools/gst-xmlinspect.c: (main):
Call g_thread_init() really really early, before any other GLib
function (see #342564 and recent discussion on gtk-devel-list).
parent 47d2b0a9
2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
* tools/gst-inspect.c: (main):
* tools/gst-launch.c: (main):
* tools/gst-typefind.c: (main):
* tools/gst-xmlinspect.c: (main):
Call g_thread_init() really really early, before any other GLib
function (see #342564 and recent discussion on gtk-devel-list).
2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
Patch by: Vincent Torri <vtorri at univ-evry dot fr>
......
common @ 64f924f6
Subproject commit ee0bb43e2b66781d04078e2210404da48f6c68f0
Subproject commit 64f924f6f2ff6275b06facb4c2adbc7c05f70641
......@@ -1123,6 +1123,9 @@ main (int argc, char *argv[])
textdomain (GETTEXT_PACKAGE);
#endif
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("[ELEMENT-NAME | PLUGIN-NAME]");
g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
g_option_context_add_group (ctx, gst_init_get_option_group ());
......
......@@ -583,6 +583,9 @@ main (int argc, char *argv[])
textdomain (GETTEXT_PACKAGE);
#endif
if (!g_thread_supported ())
g_thread_init (NULL);
gst_alloc_trace_set_flags_all (GST_ALLOC_TRACE_LIVE);
ctx = g_option_context_new ("PIPELINE-DESCRIPTION");
......
......@@ -153,6 +153,9 @@ main (int argc, char *argv[])
textdomain (GETTEXT_PACKAGE);
#endif
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("FILES");
g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
g_option_context_add_group (ctx, gst_init_get_option_group ());
......
......@@ -775,6 +775,9 @@ main (int argc, char *argv[])
setlocale (LC_ALL, "");
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("[ELEMENT-NAME | PLUGIN-NAME]");
g_option_context_add_main_entries (ctx, options, GETTEXT_PACKAGE);
g_option_context_add_group (ctx, gst_init_get_option_group ());
......
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