summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorAlessandro Ghedini <alessandro@ghedini.me>2014-06-30 12:49:01 +0200
committerAlessandro Ghedini <alessandro@ghedini.me>2014-06-30 23:20:10 +0200
commitab241c05c8e4b9c08cb8714da7e24082570fa25f (patch)
tree9bf7631f10c5c36be901761f70cc7e6072fb0b81 /options/options.c
parent211ca98e9c2ab93672b6cdd117d3729c4716fc3a (diff)
downloadmpv-ab241c05c8e4b9c08cb8714da7e24082570fa25f.tar.bz2
mpv-ab241c05c8e4b9c08cb8714da7e24082570fa25f.tar.xz
options: add --list-protocols option
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 3fdc053c44..bf4db25321 100644
--- a/options/options.c
+++ b/options/options.c
@@ -46,6 +46,7 @@
#include "audio/decode/dec_audio.h"
#include "player/core.h"
#include "player/command.h"
+#include "stream/stream.h"
extern const char mp_help_text[];
@@ -515,6 +516,7 @@ const m_option_t mp_opts[] = {
OPT_SUBSTRUCT("input", input_opts, input_config, 0),
OPT_PRINT("list-properties", property_print_help),
+ OPT_PRINT("list-protocols", stream_print_proto_list),
OPT_PRINT("help", print_help),
OPT_PRINT("h", print_help),
OPT_PRINT("version", print_version),