diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-04-17 14:31:21 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-04-18 13:03:00 +0200 |
commit | 978e373499e214649bda86133a58c062d242dd24 (patch) | |
tree | 5675ab2ad658b397ba88bf5b3be0599072f1a91f /cmdutils.c | |
parent | 99818ac4d371729180686cae6ea2c5da0ee446e8 (diff) | |
download | ffmpeg-978e373499e214649bda86133a58c062d242dd24.tar.gz |
cmdutils: make the "-help filter=" output less confusing
Example:
Filter overlay
Overlay a video source on top of the input.
Inputs:
#0: main (video)
#1: overlay (video)
Outputs:
#0: default (video)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
-rw-r--r-- | cmdutils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmdutils.c b/cmdutils.c index 35365744a8..cc886977e8 100644 --- a/cmdutils.c +++ b/cmdutils.c @@ -1661,7 +1661,7 @@ static void show_help_filter(const char *name) printf(" Inputs:\n"); count = avfilter_pad_count(f->inputs); for (i = 0; i < count; i++) { - printf(" %d %s (%s)\n", i, avfilter_pad_get_name(f->inputs, i), + printf(" #%d: %s (%s)\n", i, avfilter_pad_get_name(f->inputs, i), media_type_string(avfilter_pad_get_type(f->inputs, i))); } if (f->flags & AVFILTER_FLAG_DYNAMIC_INPUTS) @@ -1672,7 +1672,7 @@ static void show_help_filter(const char *name) printf(" Outputs:\n"); count = avfilter_pad_count(f->outputs); for (i = 0; i < count; i++) { - printf(" %d %s (%s)\n", i, avfilter_pad_get_name(f->outputs, i), + printf(" #%d: %s (%s)\n", i, avfilter_pad_get_name(f->outputs, i), media_type_string(avfilter_pad_get_type(f->outputs, i))); } if (f->flags & AVFILTER_FLAG_DYNAMIC_OUTPUTS) |