aboutsummaryrefslogtreecommitdiff
path: root/test/run_decoder.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-02 23:08:24 +0100
committerMax Kellermann <max@duempel.org>2009-03-02 23:08:24 +0100
commita2e47d55eb6b0da9f0c53b98e742f31c9dbfce19 (patch)
tree021b2604468b7dc0803aef86eafc3db5414d5ca0 /test/run_decoder.c
parentcfb350f4f01f28cdd6fa973602bd45681a64cf46 (diff)
test/run_decoder: initialize the input plugins
Diffstat (limited to 'test/run_decoder.c')
-rw-r--r--test/run_decoder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run_decoder.c b/test/run_decoder.c
index 6bd331b0..60aa9bac 100644
--- a/test/run_decoder.c
+++ b/test/run_decoder.c
@@ -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");