[FFmpeg-cvslog] r20027 - in trunk: doc/ffplay-doc.texi ffplay.c

stefano subversion
Sat Sep 26 19:18:03 CEST 2009


Author: stefano
Date: Sat Sep 26 19:18:02 2009
New Revision: 20027

Log:
Add support to the -loglevel option.

Modified:
   trunk/doc/ffplay-doc.texi
   trunk/ffplay.c

Modified: trunk/doc/ffplay-doc.texi
==============================================================================
--- trunk/doc/ffplay-doc.texi	Sat Sep 26 18:04:35 2009	(r20026)
+++ trunk/doc/ffplay-doc.texi	Sat Sep 26 19:18:02 2009	(r20027)
@@ -56,6 +56,19 @@ Seek by bytes.
 Disable graphical display.
 @item -f @var{fmt}
 Force format.
+ at item -loglevel @var{loglevel}
+Set the logging level used by the library.
+ at var{loglevel} is a number or a string containing one of the following values:
+ at table @samp
+ at item quiet
+ at item panic
+ at item fatal
+ at item error
+ at item warning
+ at item info
+ at item verbose
+ at item debug
+ at end table
 @end table
 
 @section Advanced options

Modified: trunk/ffplay.c
==============================================================================
--- trunk/ffplay.c	Sat Sep 26 18:04:35 2009	(r20026)
+++ trunk/ffplay.c	Sat Sep 26 19:18:02 2009	(r20027)
@@ -2487,6 +2487,7 @@ static const OptionDef options[] = {
     { "sync", HAS_ARG | OPT_FUNC2 | OPT_EXPERT, {(void*)opt_sync}, "set audio-video sync. type (type=audio/video/ext)", "type" },
     { "threads", HAS_ARG | OPT_FUNC2 | OPT_EXPERT, {(void*)opt_thread_count}, "thread count", "count" },
     { "default", OPT_FUNC2 | HAS_ARG | OPT_AUDIO | OPT_VIDEO | OPT_EXPERT, {(void*)opt_default}, "generic catch all option", "" },
+    { "loglevel", HAS_ARG | OPT_FUNC2, {(void*)opt_loglevel}, "set libav* logging level", "logging level number or string" },
     { NULL, },
 };
 



More information about the ffmpeg-cvslog mailing list