From ab241c05c8e4b9c08cb8714da7e24082570fa25f Mon Sep 17 00:00:00 2001 From: Alessandro Ghedini Date: Mon, 30 Jun 2014 12:49:01 +0200 Subject: options: add --list-protocols option --- options/options.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'options') 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), -- cgit v1.2.3