diff options
author | Max Kellermann <max@duempel.org> | 2011-08-24 03:23:12 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2011-08-24 03:33:49 +0200 |
commit | 3b9ffea36f2079fe23e301d0298ca957ce6a7158 (patch) | |
tree | 6441bda296152883cf1ebc9296b6a41d5f4f0712 /src/input_registry.c | |
parent | e242f3999c7f0219926877e4accf4763fec2972c (diff) | |
download | mpd-3b9ffea36f2079fe23e301d0298ca957ce6a7158.tar.gz mpd-3b9ffea36f2079fe23e301d0298ca957ce6a7158.tar.xz mpd-3b9ffea36f2079fe23e301d0298ca957ce6a7158.zip |
input/soup: new input plugin based on libsoup
To demonstrate the new I/O thread. libsoup is well-integrated into
the GLib main loop, which made this plugin pretty easy to write.
As a side effect, we have to initialize the I/O thread in all debug
programs that use the input API.
Diffstat (limited to 'src/input_registry.c')
-rw-r--r-- | src/input_registry.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/input_registry.c b/src/input_registry.c index b76d9888e..5987d5da2 100644 --- a/src/input_registry.c +++ b/src/input_registry.c @@ -29,6 +29,10 @@ #include "input/curl_input_plugin.h" #endif +#ifdef ENABLE_SOUP +#include "input/soup_input_plugin.h" +#endif + #ifdef HAVE_FFMPEG #include "input/ffmpeg_input_plugin.h" #endif @@ -55,6 +59,9 @@ const struct input_plugin *const input_plugins[] = { #ifdef ENABLE_CURL &input_plugin_curl, #endif +#ifdef ENABLE_SOUP + &input_plugin_soup, +#endif #ifdef HAVE_FFMPEG &input_plugin_ffmpeg, #endif |