ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Mon Dec 18 
10:24:45 2023 +0100| [84352c989198935f76a189e355c8f3848049caf8] | committer: 
Anton Khirnov

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.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=84352c989198935f76a189e355c8f3848049caf8
---

 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) {

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to