[FFmpeg-cvslog] ffmpeg,ffplay: show filter options

Stefano Sabatini git at videolan.org
Sat Aug 18 10:55:08 CEST 2012


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Sun Aug 12 11:11:30 2012 +0200| [5296d7b971b92156598cb265e537e5c03ab287a2] | committer: Stefano Sabatini

ffmpeg,ffplay: show filter options

Address trac ticket #1599.

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

 ffmpeg_opt.c |    1 +
 ffplay.c     |    2 ++
 2 files changed, 3 insertions(+)

diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c
index 66cffe2..22ab504 100644
--- a/ffmpeg_opt.c
+++ b/ffmpeg_opt.c
@@ -2136,6 +2136,7 @@ static int opt_help(const char *opt, const char *arg)
     show_help_children(avformat_get_class(), flags);
     show_help_children(sws_get_class(), flags);
     show_help_children(swr_get_class(), AV_OPT_FLAG_AUDIO_PARAM);
+    show_help_children(avfilter_get_class(), AV_OPT_FLAG_FILTERING_PARAM);
 
     return 0;
 }
diff --git a/ffplay.c b/ffplay.c
index 2bb26e6..88ba2be 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -3036,6 +3036,8 @@ static int opt_help(const char *opt, const char *arg)
     show_help_children(avformat_get_class(), AV_OPT_FLAG_DECODING_PARAM);
 #if !CONFIG_AVFILTER
     show_help_children(sws_get_class(), AV_OPT_FLAG_ENCODING_PARAM);
+#else
+    show_help_children(avfilter_get_class(), AV_OPT_FLAG_FILTERING_PARAM);
 #endif
     printf("\nWhile playing:\n"
            "q, ESC              quit\n"



More information about the ffmpeg-cvslog mailing list