Commit a2e47d55 authored by Max Kellermann's avatar Max Kellermann

test/run_decoder: initialize the input plugins

parent cfb350f4
......@@ -126,6 +126,7 @@ int main(int argc, char **argv)
decoder_name = argv[1];
decoder.uri = argv[2];
input_stream_global_init();
decoder_plugin_init_all();
decoder.plugin = decoder_plugin_from_name(decoder_name);
......@@ -153,6 +154,7 @@ int main(int argc, char **argv)
}
decoder_plugin_deinit_all();
input_stream_global_finish();
if (!decoder.initialized) {
g_printerr("Decoding failed\n");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment