aboutsummaryrefslogtreecommitdiffstats
path: root/test/run_decoder.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'test/run_decoder.cxx')
-rw-r--r--test/run_decoder.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/run_decoder.cxx b/test/run_decoder.cxx
index d5c7c3139..d841a54d6 100644
--- a/test/run_decoder.cxx
+++ b/test/run_decoder.cxx
@@ -156,7 +156,10 @@ int main(int argc, char **argv)
decoder_name = argv[1];
decoder.uri = argv[2];
+#if !GLIB_CHECK_VERSION(2,32,0)
g_thread_init(NULL);
+#endif
+
g_log_set_default_handler(my_log_func, NULL);
io_thread_init();