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.
This commit is contained in:
Anton Khirnov
2012-08-11 15:23:22 +02:00
parent 3c0df90584
commit 7c10194996
4 changed files with 131 additions and 82 deletions

View File

@ -278,6 +278,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.