From 5764301df3fd71c007a11fecd5ebabdd0fc36591 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Sun, 25 Dec 2011 13:23:02 +0100 Subject: [PATCH] lavfi: don't try to indent words in trace messages The traces end up not indented and ugly anyway, but with the additional spaces are much more painful to grep/parse. --- libavfilter/avfilter.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavfilter/avfilter.c b/libavfilter/avfilter.c index fa8d0d7209..b4c9fa6593 100644 --- a/libavfilter/avfilter.c +++ b/libavfilter/avfilter.c @@ -370,7 +370,7 @@ static void ff_dlog_link(void *ctx, AVFilterLink *link, int end) { if (link->type == AVMEDIA_TYPE_VIDEO) { av_dlog(ctx, - "link[%p s:%dx%d fmt:%-16s %-16s->%-16s]%s", + "link[%p s:%dx%d fmt:%s %s->%s]%s", link, link->w, link->h, av_pix_fmt_descriptors[link->format].name, link->src ? link->src->filter->name : "", @@ -381,7 +381,7 @@ static void ff_dlog_link(void *ctx, AVFilterLink *link, int end) av_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout); av_dlog(ctx, - "link[%p r:%d cl:%s fmt:%-16s %-16s->%-16s]%s", + "link[%p r:%d cl:%s fmt:%s %s->%s]%s", link, (int)link->sample_rate, buf, av_get_sample_fmt_name(link->format), link->src ? link->src->filter->name : "",