test/run_decoder: initialize GThread

Needed for the I/O thread.
This commit is contained in:
Max Kellermann 2011-10-03 19:28:40 +02:00
parent 21851c0673
commit bbdb4a67e1

View File

@ -180,6 +180,7 @@ int main(int argc, char **argv)
decoder_name = argv[1];
decoder.uri = argv[2];
g_thread_init(NULL);
g_log_set_default_handler(my_log_func, NULL);
io_thread_init();