[FFmpeg-cvslog] avconv: print info/capabilities options in a separate help group.

Anton Khirnov git at videolan.org
Mon Aug 20 17:10:49 CEST 2012


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Aug 14 08:21:42 2012 +0200| [f8b1e665539010d3ca148f09cb1203c20c1ca174] | committer: Anton Khirnov

avconv: print info/capabilities options in a separate help group.

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

 avconv_opt.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/avconv_opt.c b/avconv_opt.c
index ef591a4..2bcce3b 100644
--- a/avconv_opt.c
+++ b/avconv_opt.c
@@ -1794,8 +1794,11 @@ void show_help_default(const char *opt, const char *arg)
     int flags = AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_ENCODING_PARAM;
 
     show_usage();
+    show_help_options(options, "Print help / information / capabilities:",
+                      OPT_EXIT, 0);
     show_help_options(options, "Main options:",
-                      0, OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE);
+                      0, OPT_EXPERT | OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE |
+                      OPT_EXIT);
     show_help_options(options, "Advanced options:",
                       OPT_EXPERT, OPT_AUDIO | OPT_VIDEO | OPT_SUBTITLE);
     show_help_options(options, "Video options:",



More information about the ffmpeg-cvslog mailing list