diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-09-26 17:18:02 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-09-26 17:18:02 +0000 |
commit | 5a6d66640c7c761c39982aca3e3d1fcc7251a01a (patch) | |
tree | 5409db1c47d1539660a1e92646aea693e0677332 /ffplay.c | |
parent | a55247e76168e5e67d45e5fedec9cb9c62069673 (diff) | |
download | ffmpeg-5a6d66640c7c761c39982aca3e3d1fcc7251a01a.tar.gz |
Add a -loglevel command line option to ffplay.
The -loglevel option makes possible to set the logging level used by
the libav* libraries.
Originally committed as revision 20027 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r-- | ffplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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, }, }; |