summaryrefslogtreecommitdiff
path: root/ffserver.c
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2009-09-26 23:30:41 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2009-09-26 23:30:41 +0000
commit7087a0f525f26208db7b3e11fbdcb0508033c7f2 (patch)
treee9680ceb08701c62b52e5eed63afaea822bd86bc /ffserver.c
parent65935bc72926147b5f58a854c90cb8be164b1b53 (diff)
downloadffmpeg-7087a0f525f26208db7b3e11fbdcb0508033c7f2.tar.gz
Add a -loglevel command line option to ffserver.
The -loglevel option makes possible to set the logging level used by the libav* libraries. Originally committed as revision 20035 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ffserver.c b/ffserver.c
index 5cbdc39e81..ed9fe0d28c 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -4528,6 +4528,7 @@ static const OptionDef options[] = {
{ "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, ..." },
+ { "loglevel", HAS_ARG | OPT_FUNC2, {(void*)opt_loglevel}, "set libav* logging level", "logging level number or string" },
{ "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" },