Browse code

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.

Stefano Sabatini authored on 2011/12/25 21:23:02
Showing 1 changed files
... ...
@@ -370,7 +370,7 @@ static void ff_dlog_link(void *ctx, AVFilterLink *link, int end)
370 370
 {
371 371
     if (link->type == AVMEDIA_TYPE_VIDEO) {
372 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 374
                 link, link->w, link->h,
375 375
                 av_pix_fmt_descriptors[link->format].name,
376 376
                 link->src ? link->src->filter->name : "",
... ...
@@ -381,7 +381,7 @@ static void ff_dlog_link(void *ctx, AVFilterLink *link, int end)
381 381
         av_get_channel_layout_string(buf, sizeof(buf), -1, link->channel_layout);
382 382
 
383 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 385
                 link, (int)link->sample_rate, buf,
386 386
                 av_get_sample_fmt_name(link->format),
387 387
                 link->src ? link->src->filter->name : "",