test/read_tags: call g_thread_init()

Needed for the I/O thread.
This commit is contained in:
Max Kellermann 2011-09-13 22:42:21 +02:00
parent a236a439cc
commit 9c46cc4ea0
1 changed files with 1 additions and 0 deletions

View File

@ -166,6 +166,7 @@ int main(int argc, char **argv)
decoder_name = argv[1];
path = argv[2];
g_thread_init(NULL);
io_thread_init();
if (!io_thread_start(&error)) {
g_warning("%s", error->message);