mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-18 15:51:11 +00:00
gst/gst.c: Make warning about late g_thread_init() calls a bit more explicit, so that it's more obvious to applicatio...
Original commit message from CVS: * gst/gst.c: (gst_init_get_option_group): Make warning about late g_thread_init() calls a bit more explicit, so that it's more obvious to application developers what they need to do if a user files a bug against their application.
This commit is contained in:
parent
bc3baaa7c4
commit
9e0b1e942c
2 changed files with 11 additions and 2 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
|
||||||
|
|
||||||
|
* gst/gst.c: (gst_init_get_option_group):
|
||||||
|
Make warning about late g_thread_init() calls a bit more explicit,
|
||||||
|
so that it's more obvious to application developers what they need
|
||||||
|
to do if a user files a bug against their application.
|
||||||
|
|
||||||
2007-01-22 Edward Hervey <edward@fluendo.com>
|
2007-01-22 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
* plugins/elements/gstmultiqueue.c:
|
* plugins/elements/gstmultiqueue.c:
|
||||||
|
|
|
@ -352,8 +352,10 @@ gst_init_get_option_group (void)
|
||||||
g_warning ("The GStreamer function gst_init_get_option_group() was\n"
|
g_warning ("The GStreamer function gst_init_get_option_group() was\n"
|
||||||
"\tcalled, but the GLib threading system has not been initialised\n"
|
"\tcalled, but the GLib threading system has not been initialised\n"
|
||||||
"\tyet, something that must happen before any other GLib function\n"
|
"\tyet, something that must happen before any other GLib function\n"
|
||||||
"\tis called. The application needs to be fixed accordingly, please\n"
|
"\tis called. The application needs to be fixed so that it calls\n"
|
||||||
"\tfile a bug against this application.");
|
"\t if (!g_thread_supported ()) g_thread_init(NULL);\n"
|
||||||
|
"\tas very first thing in its main() function. Please file a bug\n"
|
||||||
|
"\tagainst this application.");
|
||||||
g_thread_init (NULL);
|
g_thread_init (NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue