summaryrefslogtreecommitdiff
path: root/cmdutils.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.h
parent3c0df9058438b68925be2fc6f5af2a05086ad99e (diff)
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.h')
-rw-r--r--cmdutils.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h
index f013c2a33f..d787496a36 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -279,6 +279,18 @@ void show_formats(void);
void show_codecs(void);
/**
+ * Print a listing containing all the decoders supported by the
+ * program.
+ */
+int show_decoders(const char *opt, const char *arg);
+
+/**
+ * Print a listing containing all the encoders supported by the
+ * program.
+ */
+int show_encoders(const char *opt, const char *arg);
+
+/**
* Print a listing containing all the filters supported by the
* program.
*/