summaryrefslogtreecommitdiff
path: root/cmdutils_common_opts.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-08-11 15:23:22 +0200
committerAnton Khirnov <anton@khirnov.net>2012-08-18 08:48:30 +0200
commit7c1019499602e23141d7ca06fe6df5ea5ab3a240 (patch)
treeb83e6528d808e349030aef6734faff1635ec9484 /cmdutils_common_opts.h
parent3c0df9058438b68925be2fc6f5af2a05086ad99e (diff)
downloadffmpeg-7c1019499602e23141d7ca06fe6df5ea5ab3a240.tar.gz
cmdutils: refactor -codecs option.
Make it print a list of AVCodecDescriptors. Add new -decoders and -encoders options that print lists of decoders and encoders respectively.
Diffstat (limited to 'cmdutils_common_opts.h')
-rw-r--r--cmdutils_common_opts.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h
index 1158afab99..d9a09c0c19 100644
--- a/cmdutils_common_opts.h
+++ b/cmdutils_common_opts.h
@@ -6,6 +6,8 @@
{ "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" },
+ { "decoders" , OPT_EXIT, {(void*)show_decoders }, "show available decoders" },
+ { "encoders" , OPT_EXIT, {(void*)show_encoders }, "show available encoders" },
{ "bsfs" , OPT_EXIT, {(void*)show_bsfs }, "show available bit stream filters" },
{ "protocols", OPT_EXIT, {(void*)show_protocols}, "show available protocols" },
{ "filters", OPT_EXIT, {(void*)show_filters }, "show available filters" },