avconv: split printing "main options" into global and per-file.

This commit is contained in:
Anton Khirnov
2012-08-15 10:31:46 +02:00
parent 6e3857fa8c
commit f9fada2704
6 changed files with 29 additions and 17 deletions

View File

@@ -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;