tests/examples/seek/: Call g_thread_init() first thing in main() (see #391278).

Original commit message from CVS:
* tests/examples/seek/scrubby.c: (main):
* tests/examples/seek/seek.c: (main):
Call g_thread_init() first thing in main() (see #391278).
This commit is contained in:
Tim-Philipp Müller 2007-01-05 16:02:50 +00:00
parent b0aeb4ce6c
commit 5c41d67b3c
4 changed files with 13 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
* tests/examples/seek/scrubby.c: (main):
* tests/examples/seek/seek.c: (main):
Call g_thread_init() first thing in main() (see #391278).
2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
* tests/check/Makefile.am:

2
common

@ -1 +1 @@
Subproject commit ee0bb43e2b66781d04078e2210404da48f6c68f0
Subproject commit 64f924f6f2ff6275b06facb4c2adbc7c05f70641

View file

@ -460,6 +460,9 @@ main (int argc, char **argv)
GOptionContext *ctx;
GError *err = NULL;
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("seek");
g_option_context_add_main_entries (ctx, options, NULL);
g_option_context_add_group (ctx, gst_init_get_option_group ());

View file

@ -1444,6 +1444,9 @@ main (int argc, char **argv)
GOptionContext *ctx;
GError *err = NULL;
if (!g_thread_supported ())
g_thread_init (NULL);
ctx = g_option_context_new ("- test seeking in gsteamer");
g_option_context_add_main_entries (ctx, options, NULL);
g_option_context_add_group (ctx, gst_init_get_option_group ());