diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-29 23:12:19 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-11-29 23:12:19 +0000 |
commit | 992f8eaee7080ab2e67cacd8851ca334f69156b3 (patch) | |
tree | b79700908545df56af5527bed79630c51d70c126 /cmdutils_common_opts.h | |
parent | 587edd6af8460282a436ad2e597c4bad7b32fe8e (diff) | |
download | ffmpeg-992f8eaee7080ab2e67cacd8851ca334f69156b3.tar.gz |
Factorize common commandline options definition.
Originally committed as revision 20664 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils_common_opts.h')
-rw-r--r-- | cmdutils_common_opts.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h new file mode 100644 index 0000000000..af324e0b9d --- /dev/null +++ b/cmdutils_common_opts.h @@ -0,0 +1,8 @@ + { "L", OPT_EXIT, {(void*)show_license}, "show license" }, + { "h", OPT_EXIT, {(void*)show_help}, "show help" }, + { "version", OPT_EXIT, {(void*)show_version}, "show version" }, + { "formats" , OPT_EXIT, {(void*)show_formats }, "show available formats" }, + { "codecs" , OPT_EXIT, {(void*)show_codecs }, "show available codecs" }, + { "bsfs" , OPT_EXIT, {(void*)show_bsfs }, "show available bit stream filters" }, + { "protocols", OPT_EXIT, {(void*)show_protocols}, "show available protocols" }, + { "loglevel", HAS_ARG | OPT_FUNC2, {(void*)opt_loglevel}, "set libav* logging level", "loglevel" }, |