mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
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:
parent
3c0df90584
commit
7c10194996
4 changed files with 131 additions and 82 deletions
12
cmdutils.h
12
cmdutils.h
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue