diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-08-12 11:11:30 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-08-18 10:19:10 +0200 |
commit | 5296d7b971b92156598cb265e537e5c03ab287a2 (patch) | |
tree | 99c1f8b951c2d597565d153d7e14c3a5e7e44506 | |
parent | 42d621d131a45fb63571ca6029c2fc4f02811c10 (diff) | |
download | ffmpeg-5296d7b971b92156598cb265e537e5c03ab287a2.tar.gz |
ffmpeg,ffplay: show filter options
Address trac ticket #1599.
-rw-r--r-- | ffmpeg_opt.c | 1 | ||||
-rw-r--r-- | ffplay.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg_opt.c b/ffmpeg_opt.c index 66cffe2756..22ab5044a8 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; } @@ -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" |