summaryrefslogtreecommitdiff
path: root/libavutil/opt.c
diff options
context:
space:
mode:
authorSoft Works <softworkz@hotmail.com>2021-10-13 05:49:23 +0000
committerMarton Balint <cus@passwd.hu>2021-11-13 19:55:32 +0100
commit99a49f91474b7c3836e007d366824bf3827e0009 (patch)
tree3ab6dd3582f124112a05267346373b1b76526995 /libavutil/opt.c
parentbcbedd2749e570ea62399cb316b4ae18c6c6f802 (diff)
avutil/opt: fix mis-alignment of option and constant values for filter help
Before: overlay AVOptions: x <string> ..FV....... set the x expression (default "0") y <string> ..FV....... set the y expression (default "0") eof_action <int> ..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 <int> ..FV....... specify when to evaluate expressions (from 0 to 1) (default frame) After: a overlay AVOptions: x <string> ..FV....... set the x expression (default "0") y <string> ..FV....... set the y expression (default "0") eof_action <int> ..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 <int> ..FV....... specify when to evaluate expressions (from 0 to 1) (default frame) Signed-off-by: softworkz <softworkz@hotmail.com> Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavutil/opt.c')
-rw-r--r--libavutil/opt.c2
1 files changed, 1 insertions, 1 deletions
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) {