[FFmpeg-devel] [PATCH] cmdutils: realign for some additional filters with very long name

James Darnley james.darnley at gmail.com
Fri Feb 5 23:02:43 CET 2016


On 2016-02-05 21:20, Paul B Mahol wrote:
> diff --git a/cmdutils.c b/cmdutils.c
> index e0d2807..03a4836 100644
> --- a/cmdutils.c
> +++ b/cmdutils.c
> @@ -1625,7 +1625,7 @@ int show_filters(void *optctx, const char *opt, const char *arg)
>                                    ( i && (filter->flags & AVFILTER_FLAG_DYNAMIC_OUTPUTS))) ? 'N' : '|';
>          }
>          *descr_cur = 0;
> -        printf(" %c%c%c %-16s %-10s %s\n",
> +        printf(" %c%c%c %-17s %-10s %s\n",
>                 filter->flags & AVFILTER_FLAG_SUPPORT_TIMELINE ? 'T' : '.',
>                 filter->flags & AVFILTER_FLAG_SLICE_THREADS    ? 'S' : '.',
>                 filter->process_command                        ? 'C' : '.',

Looks good to me.  You don't want to future proof it against even longer
names?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160205/99888ad7/attachment.sig>


More information about the ffmpeg-devel mailing list