diff --git a/ChangeLog b/ChangeLog index a3399e6f56..17ec4eb387 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2007-01-05 Tim-Philipp Müller + + * 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 * tests/check/Makefile.am: diff --git a/common b/common index ee0bb43e2b..64f924f6f2 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit ee0bb43e2b66781d04078e2210404da48f6c68f0 +Subproject commit 64f924f6f2ff6275b06facb4c2adbc7c05f70641 diff --git a/tests/examples/seek/scrubby.c b/tests/examples/seek/scrubby.c index 134e955bae..08bbef7e1f 100644 --- a/tests/examples/seek/scrubby.c +++ b/tests/examples/seek/scrubby.c @@ -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 ()); diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index fb23ee53d4..300a48c82d 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -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 ());