mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-06-01 09:27:44 +00:00
avtools: parse loglevel before all the other options.
This way it can be applied to cmdutils too -- e.g. showing the banner and printing startup messages.
This commit is contained in:
parent
4ca59d1948
commit
182cbe433a
7 changed files with 45 additions and 0 deletions
|
@ -174,6 +174,11 @@ void parse_options(void *optctx, int argc, char **argv, const OptionDef *options
|
|||
*/
|
||||
int parse_option(void *optctx, const char *opt, const char *arg, const OptionDef *options);
|
||||
|
||||
/**
|
||||
* Find the '-loglevel' option in the commandline args and apply it.
|
||||
*/
|
||||
void parse_loglevel(int argc, char **argv, const OptionDef *options);
|
||||
|
||||
/**
|
||||
* Check if the given stream matches a stream specifier.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue