You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-11-23 21:54:53 +02:00
cmdutils: extend -h to allow printing codec details.
This commit is contained in:
@@ -1789,10 +1789,10 @@ static int opt_filter_complex(const char *opt, const char *arg)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int show_help(const char *opt, const char *arg)
|
||||
void show_help_default(const char *opt, const char *arg)
|
||||
{
|
||||
int flags = AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM;
|
||||
av_log_set_callback(log_callback_help);
|
||||
|
||||
show_usage();
|
||||
show_help_options(options, "Main options:",
|
||||
0, OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE);
|
||||
@@ -1812,7 +1812,6 @@ static int show_help(const char *opt, const char *arg)
|
||||
show_help_children(avcodec_get_class(), flags);
|
||||
show_help_children(avformat_get_class(), flags);
|
||||
show_help_children(sws_get_class(), flags);
|
||||
return 0;
|
||||
}
|
||||
|
||||
void show_usage(void)
|
||||
|
||||
Reference in New Issue
Block a user