diff options
author | Anton Khirnov <anton@khirnov.net> | 2021-11-12 19:05:56 +0300 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2021-11-16 12:51:32 +0300 |
commit | d4ae2a20e8783a3658d47bae952ae681c6465a39 (patch) | |
tree | 00df511e7d9f433d2ca05e26c54174be86c53e5b /fftools/cmdutils.h | |
parent | a4c5d241ec215cfa680c5fa706377e40d18e8040 (diff) |
cmdutils: add an option for listing stream dispositions
Diffstat (limited to 'fftools/cmdutils.h')
-rw-r--r-- | fftools/cmdutils.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/fftools/cmdutils.h b/fftools/cmdutils.h index 30f0b79725..64dd7266bc 100644 --- a/fftools/cmdutils.h +++ b/fftools/cmdutils.h @@ -238,6 +238,7 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags, { "pix_fmts", OPT_EXIT, { .func_arg = show_pix_fmts }, "show available pixel formats" }, \ { "layouts", OPT_EXIT, { .func_arg = show_layouts }, "show standard channel layouts" }, \ { "sample_fmts", OPT_EXIT, { .func_arg = show_sample_fmts }, "show available audio sample formats" }, \ + { "dispositions", OPT_EXIT, { .func_arg = show_dispositions}, "show available stream dispositions" }, \ { "colors", OPT_EXIT, { .func_arg = show_colors }, "show available color names" }, \ { "loglevel", HAS_ARG, { .func_arg = opt_loglevel }, "set logging level", "loglevel" }, \ { "v", HAS_ARG, { .func_arg = opt_loglevel }, "set logging level", "loglevel" }, \ @@ -578,6 +579,11 @@ int show_layouts(void *optctx, const char *opt, const char *arg); int show_sample_fmts(void *optctx, const char *opt, const char *arg); /** + * Print a listing containing all supported stream dispositions. + */ +int show_dispositions(void *optctx, const char *opt, const char *arg); + +/** * Print a listing containing all the color names and values recognized * by the program. */ |