summaryrefslogtreecommitdiff
path: root/cmdutils_common_opts.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-08-31 08:51:15 +0200
committerAnton Khirnov <anton@khirnov.net>2011-09-11 17:29:55 +0200
commit05bffc12c4faff47aabe08bafe44ee3b31ed5b47 (patch)
tree7fd91aab6d69830d8eed95940169782d35f49edf /cmdutils_common_opts.h
parentf1f15c3c1a813c86e669aeb58a07c10d9cc21893 (diff)
downloadffmpeg-05bffc12c4faff47aabe08bafe44ee3b31ed5b47.tar.gz
avconv: move audio_sample_fmt to options context.
Also document it and replace undocumented and inconsistent '-sample_fmt list' syntax with -sample_fmts.
Diffstat (limited to 'cmdutils_common_opts.h')
-rw-r--r--cmdutils_common_opts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h
index 9b5e5d22cd..36b2e322e5 100644
--- a/cmdutils_common_opts.h
+++ b/cmdutils_common_opts.h
@@ -10,4 +10,5 @@
{ "protocols", OPT_EXIT, {(void*)show_protocols}, "show available protocols" },
{ "filters", OPT_EXIT, {(void*)show_filters }, "show available filters" },
{ "pix_fmts" , OPT_EXIT, {(void*)show_pix_fmts }, "show available pixel formats" },
+ { "sample_fmts", OPT_EXIT, {.func_arg = show_sample_fmts }, "show available audio sample formats" },
{ "loglevel", HAS_ARG, {(void*)opt_loglevel}, "set libav* logging level", "loglevel" },