diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-07-14 18:26:04 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-07-15 15:07:03 +0200 |
commit | fda968aa8febe384038aa0a41df8b8e1bb28c5ae (patch) | |
tree | 868ea2f8e0ec157707520365217bf1c5ef4a3537 | |
parent | a1e52c94411de56bb1071a162524be51f32d31f0 (diff) | |
download | ffmpeg-fda968aa8febe384038aa0a41df8b8e1bb28c5ae.tar.gz |
lavfi: decrease logging level of message showing initial parameters
Reduce log clutter, consistent with 1a49a169eb74a97.
-rw-r--r-- | libavfilter/af_aconvert.c | 2 | ||||
-rw-r--r-- | libavfilter/af_amerge.c | 2 | ||||
-rw-r--r-- | libavfilter/af_aresample.c | 2 | ||||
-rw-r--r-- | libavfilter/af_asetnsamples.c | 2 | ||||
-rw-r--r-- | libavfilter/af_pan.c | 2 | ||||
-rw-r--r-- | libavfilter/af_volume.c | 2 | ||||
-rw-r--r-- | libavfilter/asrc_aevalsrc.c | 2 | ||||
-rw-r--r-- | libavfilter/avf_showwaves.c | 2 | ||||
-rw-r--r-- | libavfilter/buffersrc.c | 4 | ||||
-rw-r--r-- | libavfilter/vf_blackdetect.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_boxblur.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_colormatrix.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_delogo.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_deshake.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_removelogo.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_scale.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_super2xsai.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_thumbnail.c | 2 | ||||
-rw-r--r-- | libavfilter/vf_tinterlace.c | 2 | ||||
-rw-r--r-- | libavfilter/vsrc_cellauto.c | 2 | ||||
-rw-r--r-- | libavfilter/vsrc_life.c | 2 | ||||
-rw-r--r-- | libavfilter/vsrc_mptestsrc.c | 2 | ||||
-rw-r--r-- | libavfilter/vsrc_testsrc.c | 2 |
23 files changed, 24 insertions, 24 deletions
diff --git a/libavfilter/af_aconvert.c b/libavfilter/af_aconvert.c index dc9cf455a3..6dd845259e 100644 --- a/libavfilter/af_aconvert.c +++ b/libavfilter/af_aconvert.c @@ -127,7 +127,7 @@ static int config_output(AVFilterLink *outlink) -1, inlink ->channel_layout); av_get_channel_layout_string(buf2, sizeof(buf2), -1, outlink->channel_layout); - av_log(ctx, AV_LOG_INFO, + av_log(ctx, AV_LOG_VERBOSE, "fmt:%s cl:%s -> fmt:%s cl:%s\n", av_get_sample_fmt_name(inlink ->format), buf1, av_get_sample_fmt_name(outlink->format), buf2); diff --git a/libavfilter/af_amerge.c b/libavfilter/af_amerge.c index 660ae5dc9d..b810f73b38 100644 --- a/libavfilter/af_amerge.c +++ b/libavfilter/af_amerge.c @@ -157,7 +157,7 @@ static int config_output(AVFilterLink *outlink) } av_bprintf(&bp, " -> out:"); av_bprint_channel_layout(&bp, -1, ctx->outputs[0]->channel_layout); - av_log(ctx, AV_LOG_INFO, "%s\n", bp.str); + av_log(ctx, AV_LOG_VERBOSE, "%s\n", bp.str); return 0; } diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c index cf1d8df0ce..422194508b 100644 --- a/libavfilter/af_aresample.c +++ b/libavfilter/af_aresample.c @@ -162,7 +162,7 @@ static int config_output(AVFilterLink *outlink) av_get_channel_layout_string(inchl_buf, sizeof(inchl_buf), -1, inlink ->channel_layout); av_get_channel_layout_string(outchl_buf, sizeof(outchl_buf), -1, outlink->channel_layout); - av_log(ctx, AV_LOG_INFO, "chl:%s fmt:%s r:%dHz -> chl:%s fmt:%s r:%dHz\n", + av_log(ctx, AV_LOG_VERBOSE, "chl:%s fmt:%s r:%dHz -> chl:%s fmt:%s r:%dHz\n", inchl_buf, av_get_sample_fmt_name(inlink->format), inlink->sample_rate, outchl_buf, av_get_sample_fmt_name(outlink->format), outlink->sample_rate); return 0; diff --git a/libavfilter/af_asetnsamples.c b/libavfilter/af_asetnsamples.c index 95fd507d4d..8805d53a97 100644 --- a/libavfilter/af_asetnsamples.c +++ b/libavfilter/af_asetnsamples.c @@ -68,7 +68,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) } asns->next_out_pts = AV_NOPTS_VALUE; - av_log(ctx, AV_LOG_INFO, "nb_out_samples:%d pad:%d\n", asns->nb_out_samples, asns->pad); + av_log(ctx, AV_LOG_VERBOSE, "nb_out_samples:%d pad:%d\n", asns->nb_out_samples, asns->pad); return 0; } diff --git a/libavfilter/af_pan.c b/libavfilter/af_pan.c index bb96ad0511..13bb5c3a65 100644 --- a/libavfilter/af_pan.c +++ b/libavfilter/af_pan.c @@ -327,7 +327,7 @@ static int config_props(AVFilterLink *link) j ? " + " : "", pan->gain[i][j], j); cur += FFMIN(buf + sizeof(buf) - cur, r); } - av_log(ctx, AV_LOG_INFO, "o%d = %s\n", i, buf); + av_log(ctx, AV_LOG_VERBOSE, "o%d = %s\n", i, buf); } // add channel mapping summary if possible if (pan->pure_gains) { diff --git a/libavfilter/af_volume.c b/libavfilter/af_volume.c index 09302ee5d9..1aca7d95ba 100644 --- a/libavfilter/af_volume.c +++ b/libavfilter/af_volume.c @@ -75,7 +75,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) } vol->volume_i = (int)(vol->volume * 256 + 0.5); - av_log(ctx, AV_LOG_INFO, "volume=%f\n", vol->volume); + av_log(ctx, AV_LOG_VERBOSE, "volume=%f\n", vol->volume); return 0; } diff --git a/libavfilter/asrc_aevalsrc.c b/libavfilter/asrc_aevalsrc.c index dfb6b5a7da..fb7151bd74 100644 --- a/libavfilter/asrc_aevalsrc.c +++ b/libavfilter/asrc_aevalsrc.c @@ -181,7 +181,7 @@ static int config_props(AVFilterLink *outlink) av_get_channel_layout_string(buf, sizeof(buf), 0, eval->chlayout); - av_log(outlink->src, AV_LOG_INFO, + av_log(outlink->src, AV_LOG_VERBOSE, "sample_rate:%d chlayout:%s duration:%f\n", eval->sample_rate, buf, eval->duration); diff --git a/libavfilter/avf_showwaves.c b/libavfilter/avf_showwaves.c index 9a267a6b71..2494a7088f 100644 --- a/libavfilter/avf_showwaves.c +++ b/libavfilter/avf_showwaves.c @@ -145,7 +145,7 @@ static int config_output(AVFilterLink *outlink) outlink->frame_rate = av_div_q((AVRational){inlink->sample_rate,showwaves->n}, (AVRational){showwaves->w,1}); - av_log(ctx, AV_LOG_INFO, "s:%dx%d r:%f n:%d\n", + av_log(ctx, AV_LOG_VERBOSE, "s:%dx%d r:%f n:%d\n", showwaves->w, showwaves->h, av_q2d(outlink->frame_rate), showwaves->n); return 0; } diff --git a/libavfilter/buffersrc.c b/libavfilter/buffersrc.c index 2592cfb64a..72ee268e1b 100644 --- a/libavfilter/buffersrc.c +++ b/libavfilter/buffersrc.c @@ -268,7 +268,7 @@ static av_cold int init_video(AVFilterContext *ctx, const char *args) goto fail; } - av_log(ctx, AV_LOG_INFO, "w:%d h:%d pixfmt:%s tb:%d/%d fr:%d/%d sar:%d/%d sws_param:%s\n", + av_log(ctx, AV_LOG_VERBOSE, "w:%d h:%d pixfmt:%s tb:%d/%d fr:%d/%d sar:%d/%d sws_param:%s\n", c->w, c->h, av_pix_fmt_descriptors[c->pix_fmt].name, c->time_base.num, c->time_base.den, c->frame_rate.num, c->frame_rate.den, c->pixel_aspect.num, c->pixel_aspect.den, (char *)av_x_if_null(c->sws_param, "")); @@ -328,7 +328,7 @@ static av_cold int init_audio(AVFilterContext *ctx, const char *args) if (!s->time_base.num) s->time_base = (AVRational){1, s->sample_rate}; - av_log(ctx, AV_LOG_INFO, + av_log(ctx, AV_LOG_VERBOSE, "tb:%d/%d samplefmt:%s samplerate:%d chlayout:%s\n", s->time_base.num, s->time_base.den, s->sample_fmt_str, s->sample_rate, s->channel_layout_str); diff --git a/libavfilter/vf_blackdetect.c b/libavfilter/vf_blackdetect.c index bb9567d0b9..85a13f2844 100644 --- a/libavfilter/vf_blackdetect.c +++ b/libavfilter/vf_blackdetect.c @@ -109,7 +109,7 @@ static int config_input(AVFilterLink *inlink) blackdetect->pixel_black_th * 255 : 16 + blackdetect->pixel_black_th * (235 - 16); - av_log(blackdetect, AV_LOG_INFO, + av_log(blackdetect, AV_LOG_VERBOSE, "black_min_duration:%s pixel_black_th:%f pixel_black_th_i:%d picture_black_ratio_th:%f\n", av_ts2timestr(blackdetect->black_min_duration, &inlink->time_base), blackdetect->pixel_black_th, blackdetect->pixel_black_th_i, diff --git a/libavfilter/vf_boxblur.c b/libavfilter/vf_boxblur.c index d9ef7e6a3a..6e6949efb0 100644 --- a/libavfilter/vf_boxblur.c +++ b/libavfilter/vf_boxblur.c @@ -175,7 +175,7 @@ static int config_input(AVFilterLink *inlink) EVAL_RADIUS_EXPR(chroma); EVAL_RADIUS_EXPR(alpha); - av_log(ctx, AV_LOG_INFO, + av_log(ctx, AV_LOG_VERBOSE, "luma_radius:%d luma_power:%d " "chroma_radius:%d chroma_power:%d " "alpha_radius:%d alpha_power:%d " diff --git a/libavfilter/vf_colormatrix.c b/libavfilter/vf_colormatrix.c index 0784c82835..3c142056e7 100644 --- a/libavfilter/vf_colormatrix.c +++ b/libavfilter/vf_colormatrix.c @@ -313,7 +313,7 @@ static int config_input(AVFilterLink *inlink) color->hsub = pix_desc->log2_chroma_w; color->vsub = pix_desc->log2_chroma_h; - av_log(ctx, AV_LOG_INFO, "%s -> %s\n", color->src, color->dst); + av_log(ctx, AV_LOG_VERBOSE, "%s -> %s\n", color->src, color->dst); return 0; } diff --git a/libavfilter/vf_delogo.c b/libavfilter/vf_delogo.c index ae9d2a3bb1..996609da4a 100644 --- a/libavfilter/vf_delogo.c +++ b/libavfilter/vf_delogo.c @@ -198,7 +198,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) if (delogo->show) delogo->band = 4; - av_log(ctx, AV_LOG_INFO, "x:%d y:%d, w:%d h:%d band:%d show:%d\n", + av_log(ctx, AV_LOG_VERBOSE, "x:%d y:%d, w:%d h:%d band:%d show:%d\n", delogo->x, delogo->y, delogo->w, delogo->h, delogo->band, delogo->show); delogo->w += delogo->band*2; diff --git a/libavfilter/vf_deshake.c b/libavfilter/vf_deshake.c index 10d789fd8d..45da72b079 100644 --- a/libavfilter/vf_deshake.c +++ b/libavfilter/vf_deshake.c @@ -377,7 +377,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) deshake->cx &= ~15; } - av_log(ctx, AV_LOG_INFO, "cx: %d, cy: %d, cw: %d, ch: %d, rx: %d, ry: %d, edge: %d blocksize: %d contrast: %d search: %d\n", + av_log(ctx, AV_LOG_VERBOSE, "cx: %d, cy: %d, cw: %d, ch: %d, rx: %d, ry: %d, edge: %d blocksize: %d contrast: %d search: %d\n", deshake->cx, deshake->cy, deshake->cw, deshake->ch, deshake->rx, deshake->ry, deshake->edge, deshake->blocksize * 2, deshake->contrast, deshake->search); diff --git a/libavfilter/vf_removelogo.c b/libavfilter/vf_removelogo.c index fdfe5bda59..2e395c7eea 100644 --- a/libavfilter/vf_removelogo.c +++ b/libavfilter/vf_removelogo.c @@ -326,7 +326,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) ff_calculate_bounding_box(&removelogo->half_mask_bbox, removelogo->half_mask_data, w/2, w/2, h/2, 0); #define SHOW_LOGO_INFO(mask_type) \ - av_log(ctx, AV_LOG_INFO, #mask_type " x1:%d x2:%d y1:%d y2:%d max_mask_size:%d\n", \ + av_log(ctx, AV_LOG_VERBOSE, #mask_type " x1:%d x2:%d y1:%d y2:%d max_mask_size:%d\n", \ removelogo->mask_type##_mask_bbox.x1, removelogo->mask_type##_mask_bbox.x2, \ removelogo->mask_type##_mask_bbox.y1, removelogo->mask_type##_mask_bbox.y2, \ mask_type##_max_mask_size); diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c index 3717da231b..7df03fc9bb 100644 --- a/libavfilter/vf_scale.c +++ b/libavfilter/vf_scale.c @@ -256,7 +256,7 @@ static int config_props(AVFilterLink *outlink) } else outlink->sample_aspect_ratio = inlink->sample_aspect_ratio; - av_log(ctx, AV_LOG_INFO, "w:%d h:%d fmt:%s sar:%d/%d -> w:%d h:%d fmt:%s sar:%d/%d flags:0x%0x\n", + av_log(ctx, AV_LOG_VERBOSE, "w:%d h:%d fmt:%s sar:%d/%d -> w:%d h:%d fmt:%s sar:%d/%d flags:0x%0x\n", inlink ->w, inlink ->h, av_pix_fmt_descriptors[ inlink->format].name, inlink->sample_aspect_ratio.num, inlink->sample_aspect_ratio.den, outlink->w, outlink->h, av_pix_fmt_descriptors[outlink->format].name, diff --git a/libavfilter/vf_super2xsai.c b/libavfilter/vf_super2xsai.c index adfc41db37..b941358c72 100644 --- a/libavfilter/vf_super2xsai.c +++ b/libavfilter/vf_super2xsai.c @@ -295,7 +295,7 @@ static int config_output(AVFilterLink *outlink) outlink->w = inlink->w*2; outlink->h = inlink->h*2; - av_log(inlink->dst, AV_LOG_INFO, "fmt:%s size:%dx%d -> size:%dx%d\n", + av_log(inlink->dst, AV_LOG_VERBOSE, "fmt:%s size:%dx%d -> size:%dx%d\n", av_get_pix_fmt_name(inlink->format), inlink->w, inlink->h, outlink->w, outlink->h); diff --git a/libavfilter/vf_thumbnail.c b/libavfilter/vf_thumbnail.c index 02354f2623..dda1a5dbf6 100644 --- a/libavfilter/vf_thumbnail.c +++ b/libavfilter/vf_thumbnail.c @@ -64,7 +64,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) "Allocation failure, try to lower the number of frames\n"); return AVERROR(ENOMEM); } - av_log(ctx, AV_LOG_INFO, "batch size: %d frames\n", thumb->n_frames); + av_log(ctx, AV_LOG_VERBOSE, "batch size: %d frames\n", thumb->n_frames); return 0; } diff --git a/libavfilter/vf_tinterlace.c b/libavfilter/vf_tinterlace.c index 402eecacfb..d511d72667 100644 --- a/libavfilter/vf_tinterlace.c +++ b/libavfilter/vf_tinterlace.c @@ -155,7 +155,7 @@ static int config_out_props(AVFilterLink *outlink) tinterlace->black_linesize[i] * h); } } - av_log(ctx, AV_LOG_INFO, "mode:%s h:%d -> h:%d\n", + av_log(ctx, AV_LOG_VERBOSE, "mode:%s h:%d -> h:%d\n", tinterlace_mode_str[tinterlace->mode], inlink->h, outlink->h); return 0; diff --git a/libavfilter/vsrc_cellauto.c b/libavfilter/vsrc_cellauto.c index e064c2c141..b2c9d5867b 100644 --- a/libavfilter/vsrc_cellauto.c +++ b/libavfilter/vsrc_cellauto.c @@ -213,7 +213,7 @@ static int init(AVFilterContext *ctx, const char *args) } } - av_log(ctx, AV_LOG_INFO, + av_log(ctx, AV_LOG_VERBOSE, "s:%dx%d r:%d/%d rule:%d stitch:%d scroll:%d full:%d seed:%u\n", cellauto->w, cellauto->h, frame_rate.num, frame_rate.den, cellauto->rule, cellauto->stitch, cellauto->scroll, cellauto->start_full, diff --git a/libavfilter/vsrc_life.c b/libavfilter/vsrc_life.c index 7a62f63a96..c71291f271 100644 --- a/libavfilter/vsrc_life.c +++ b/libavfilter/vsrc_life.c @@ -291,7 +291,7 @@ static int init(AVFilterContext *ctx, const char *args) return ret; } - av_log(ctx, AV_LOG_INFO, + av_log(ctx, AV_LOG_VERBOSE, "s:%dx%d r:%d/%d rule:%s stay_rule:%d born_rule:%d stitch:%d seed:%u\n", life->w, life->h, frame_rate.num, frame_rate.den, life->rule_str, life->stay_rule, life->born_rule, life->stitch, diff --git a/libavfilter/vsrc_mptestsrc.c b/libavfilter/vsrc_mptestsrc.c index fd33acfd44..6a4df1efa4 100644 --- a/libavfilter/vsrc_mptestsrc.c +++ b/libavfilter/vsrc_mptestsrc.c @@ -288,7 +288,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) test->frame_nb = 0; test->pts = 0; - av_log(ctx, AV_LOG_INFO, "rate:%d/%d duration:%f\n", + av_log(ctx, AV_LOG_VERBOSE, "rate:%d/%d duration:%f\n", frame_rate_q.num, frame_rate_q.den, duration < 0 ? -1 : test->max_pts * av_q2d(test->time_base)); init_idct(); diff --git a/libavfilter/vsrc_testsrc.c b/libavfilter/vsrc_testsrc.c index 0c07f06048..a920314d1b 100644 --- a/libavfilter/vsrc_testsrc.c +++ b/libavfilter/vsrc_testsrc.c @@ -111,7 +111,7 @@ static av_cold int init(AVFilterContext *ctx, const char *args) test->nb_frame = 0; test->pts = 0; - av_log(ctx, AV_LOG_INFO, "size:%dx%d rate:%d/%d duration:%f sar:%d/%d\n", + av_log(ctx, AV_LOG_VERBOSE, "size:%dx%d rate:%d/%d duration:%f sar:%d/%d\n", test->w, test->h, frame_rate_q.num, frame_rate_q.den, duration < 0 ? -1 : test->max_pts * av_q2d(test->time_base), test->sar.num, test->sar.den); |