From 99a49f91474b7c3836e007d366824bf3827e0009 Mon Sep 17 00:00:00 2001 From: Soft Works Date: Wed, 13 Oct 2021 05:49:23 +0000 Subject: [PATCH] avutil/opt: fix mis-alignment of option and constant values for filter help Before: overlay AVOptions: x ..FV....... set the x expression (default "0") y ..FV....... set the y expression (default "0") eof_action ..FV....... Action to take when encountering EOF from secondary input (from 0 to 2) (default repeat) repeat 0 ..FV....... Repeat the previous frame. endall 1 ..FV....... End both streams. pass 2 ..FV....... Pass through the main input. eval ..FV....... specify when to evaluate expressions (from 0 to 1) (default frame) After: a overlay AVOptions: x ..FV....... set the x expression (default "0") y ..FV....... set the y expression (default "0") eof_action ..FV....... Action to take when encountering EOF from secondary input (from 0 to 2) (default repeat) repeat 0 ..FV....... Repeat the previous frame. endall 1 ..FV....... End both streams. pass 2 ..FV....... Pass through the main input. eval ..FV....... specify when to evaluate expressions (from 0 to 1) (default frame) Signed-off-by: softworkz Signed-off-by: Marton Balint --- libavutil/opt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/opt.c b/libavutil/opt.c index cfda31ea2f..d951edca9d 100644 --- a/libavutil/opt.c +++ b/libavutil/opt.c @@ -1173,7 +1173,7 @@ static void opt_list(void *obj, void *av_log_obj, const char *unit, av_log(av_log_obj, AV_LOG_INFO, " %-15s ", opt->name); else av_log(av_log_obj, AV_LOG_INFO, " %s%-17s ", - (opt->flags & AV_OPT_FLAG_FILTERING_PARAM) ? "" : "-", + (opt->flags & AV_OPT_FLAG_FILTERING_PARAM) ? " " : "-", opt->name); switch (opt->type) {