From 84352c989198935f76a189e355c8f3848049caf8 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Mon, 18 Dec 2023 10:24:45 +0100 Subject: [PATCH] fftools/ffmpeg_opt: print a section for data-stream options Only show it with show_advanced (triggered by -h long), since data streams themselves are an advanced topic. --- fftools/ffmpeg_opt.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c index 2ce83b6a61..465e25d7a8 100644 --- a/fftools/ffmpeg_opt.c +++ b/fftools/ffmpeg_opt.c @@ -1239,6 +1239,10 @@ void show_help_default(const char *opt, const char *arg) if (show_advanced) show_help_options(options, "Advanced Subtitle options:", OPT_EXPERT | OPT_SUBTITLE, OPT_VIDEO | OPT_AUDIO | OPT_DATA, 0); + + if (show_advanced) + show_help_options(options, "Data stream options:", + OPT_DATA, OPT_VIDEO | OPT_AUDIO | OPT_SUBTITLE, 0); printf("\n"); if (show_avoptions) {