aboutsummaryrefslogtreecommitdiffstats
path: root/test
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
parentcfb350f4f01f28cdd6fa973602bd45681a64cf46 (diff)
downloadmpd-a2e47d55eb6b0da9f0c53b98e742f31c9dbfce19.tar.gz
mpd-a2e47d55eb6b0da9f0c53b98e742f31c9dbfce19.tar.xz
mpd-a2e47d55eb6b0da9f0c53b98e742f31c9dbfce19.zip
test/run_decoder: initialize the input plugins
Diffstat (limited to '')
-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 6bd331b02..60aa9bace 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");