aboutsummaryrefslogtreecommitdiffstats
path: root/fftools
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2023-12-18 10:24:45 +0100
committerAnton Khirnov <anton@khirnov.net>2023-12-22 11:39:57 +0100
commit84352c989198935f76a189e355c8f3848049caf8 (patch)
tree6241979df6bd9b4b6b7bc2c02948999ee2f25034 /fftools
parent74df1b73d491e790190d8a484ba2c8a531f90f07 (diff)
downloadffmpeg-84352c989198935f76a189e355c8f3848049caf8.tar.gz
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.
Diffstat (limited to 'fftools')
-rw-r--r--fftools/ffmpeg_opt.c4
1 files changed, 4 insertions, 0 deletions
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) {