mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-02 13:24:20 +08:00
avconv: split printing "main options" into global and per-file.
This commit is contained in:
@@ -114,7 +114,7 @@ int64_t parse_time_or_die(const char *context, const char *timestr,
|
||||
}
|
||||
|
||||
void show_help_options(const OptionDef *options, const char *msg, int req_flags,
|
||||
int rej_flags)
|
||||
int rej_flags, int alt_flags)
|
||||
{
|
||||
const OptionDef *po;
|
||||
int first;
|
||||
@@ -124,6 +124,7 @@ void show_help_options(const OptionDef *options, const char *msg, int req_flags,
|
||||
char buf[64];
|
||||
|
||||
if (((po->flags & req_flags) != req_flags) ||
|
||||
(alt_flags && !(po->flags & alt_flags)) ||
|
||||
(po->flags & rej_flags))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user