The traces end up not indented and ugly anyway, but with the additional spaces are much more painful to grep/parse.
Showing the changes to libavfilter/avfilter.c (1 of 1 file). Show all
Unified · Split
| @@ -370,7 +370,7 @@ static void ff_dlog_link(void *ctx, AVFilterLink *link, int end) · 369 unmodified lines | |||
| 370 | { | 370 | { |
| 371 | if (link->type == AVMEDIA_TYPE_VIDEO) { | 371 | if (link->type == AVMEDIA_TYPE_VIDEO) { |
| 372 | av_dlog(ctx, | 372 | av_dlog(ctx, |
| 373 | "link[%p s:%dx%d fmt:%-16s %-16s->%-16s]%s", | 373 | "link[%p s:%dx%d fmt:%s %s->%s]%s", |
| 374 | link, link->w, link->h, | 374 | link, link->w, link->h, |
| 375 | av_pix_fmt_descriptors[link->format].name, | 375 | av_pix_fmt_descriptors[link->format].name, |
| 376 | link->src ? link->src->filter->name : "", | 376 | link->src ? link->src->filter->name : "", |
| @@ -381,7 +381,7 @@ static void ff_dlog_link(void *ctx, AVFilterLink *link, int end) · 4 unmodified lines | |||
| 381 | av_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout); | 381 | av_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout); |
| 382 | 382 | ||
| 383 | av_dlog(ctx, | 383 | av_dlog(ctx, |
| 384 | "link[%p r:%d cl:%s fmt:%-16s %-16s->%-16s]%s", | 384 | "link[%p r:%d cl:%s fmt:%s %s->%s]%s", |
| 385 | link, (int)link->sample_rate, buf, | 385 | link, (int)link->sample_rate, buf, |
| 386 | av_get_sample_fmt_name(link->format), | 386 | av_get_sample_fmt_name(link->format), |
| 387 | link->src ? link->src->filter->name : "", | 387 | link->src ? link->src->filter->name : "", |