aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmdline.c
diff options
context:
space:
mode:
authorViliam Mateicka <viliam.mateicka@gmail.com>2009-11-17 20:39:26 +0100
committerViliam Mateicka <viliam.mateicka@gmail.com>2009-11-17 20:39:26 +0100
commitd37b4bb199cbe5c34ad8bcf36be26cd7c3caa11d (patch)
treeed402ada2f59893cfe1e1225c42c6908cff57cb3 /src/cmdline.c
parentea92dee1aedd2e6186e8de2e70ba6bf45ec5298d (diff)
downloadmpd-d37b4bb199cbe5c34ad8bcf36be26cd7c3caa11d.tar.gz
mpd-d37b4bb199cbe5c34ad8bcf36be26cd7c3caa11d.tar.xz
mpd-d37b4bb199cbe5c34ad8bcf36be26cd7c3caa11d.zip
cmdline: print out list of encoders in --version info
Diffstat (limited to 'src/cmdline.c')
-rw-r--r--src/cmdline.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cmdline.c b/src/cmdline.c
index 48b16325e..908e8f27d 100644
--- a/src/cmdline.c
+++ b/src/cmdline.c
@@ -27,6 +27,10 @@
#include "output_list.h"
#include "ls.h"
+#ifdef ENABLE_ENCODER
+#include "encoder_list.h"
+#endif
+
#ifdef ENABLE_ARCHIVE
#include "archive_list.h"
#endif
@@ -82,6 +86,13 @@ static void version(void)
"Supported outputs:\n");
audio_output_plugin_print_all_types(stdout);
+#ifdef ENABLE_ENCODER
+ puts("\n"
+ "Supported encoders:\n");
+ encoder_plugin_print_all_types(stdout);
+#endif
+
+
#ifdef ENABLE_ARCHIVE
puts("\n"
"Supported archives:\n");