OSDN Git Service

Add -formats option to ffserver.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 23 May 2008 07:14:28 +0000 (07:14 +0000)
committerBenoit Fouet <benoit.fouet@free.fr>
Fri, 23 May 2008 07:14:28 +0000 (07:14 +0000)
Patch by Stefano Sabatini stefano sabatini-lala poste it

Originally committed as revision 13245 to svn://svn.ffmpeg.org/ffmpeg/trunk

doc/ffserver-doc.texi
ffserver.c

index 4de2bf5..589e58f 100644 (file)
@@ -200,6 +200,8 @@ ffserver [options]
 Show version.
 @item -L
 Print the license.
+@item -formats
+Show available formats, codecs, protocols, ...
 @item -h
 Print the help.
 @item -f @var{configfile}
index 2a27fe8..986bd69 100644 (file)
@@ -4351,6 +4351,7 @@ static const OptionDef options[] = {
     { "h", OPT_EXIT, {(void*)opt_show_help}, "show help" },
     { "version", OPT_EXIT, {(void*)show_version}, "show version" },
     { "L", OPT_EXIT, {(void*)show_license}, "show license" },
+    { "formats", OPT_EXIT, {(void*)show_formats}, "show available formats, codecs, protocols, ..." },
     { "n", OPT_BOOL, {(void *)&no_launch }, "enable no-launch mode" },
     { "d", 0, {(void*)opt_debug}, "enable debug mode" },
     { "f", HAS_ARG | OPT_STRING, {(void*)&config_filename }, "use configfile instead of /etc/ffserver.conf", "configfile" },