On 2021-08-06 11:34 pm, James Almer wrote:
From: Matthieu Patou <mpa...@fb.com>
Suggested-by: ffm...@fb.com
Signed-off-by: James Almer <jamr...@gmail.com>
---
fftools/cmdutils.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/fftools/cmdutils.c b/fftools/cmdutils.c
index 912e881174..fc58277df7 100644
--- a/fftools/cmdutils.c
+++ b/fftools/cmdutils.c
@@ -1160,7 +1160,8 @@ static void print_program_info(int flags, int level)
av_log(NULL, level, "\n");
av_log(NULL, level, "%sbuilt with %s\n", indent, CC_IDENT);
- av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n", indent);
+ if (flags & SHOW_CONFIG)
+ av_log(NULL, level, "%sconfiguration: " FFMPEG_CONFIGURATION "\n",
indent);
I like it. If most users pasted the full log on their own initiative in
bug reports or Q&As then this would have been a negative but they don't.
I suggest to add an else clause that prints something like "Add
-buildconf to view configuration".
Regards,
Gyan
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".