diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-05-31 09:23:54 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-05-31 09:23:54 +0000 |
commit | 2b550f816abc592068981723b315ec8130f560e0 (patch) | |
tree | bec2aec201e8ddd1df7770ffe7bf32cd0136f78f /libavcodec/lcldec.c | |
parent | 75f6d6c7e6d978ad35e89d2c8e4bcda56f25fe0a (diff) | |
download | ffmpeg-2b550f816abc592068981723b315ec8130f560e0.tar.gz |
Make lcldec less annoyingly verbose, move messages from AV_LOG_INFO to AV_LOG_DEBUG.
Originally committed as revision 19037 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/lcldec.c')
-rw-r--r-- | libavcodec/lcldec.c | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/libavcodec/lcldec.c b/libavcodec/lcldec.c index 36c7c096c3..18cbd86fc6 100644 --- a/libavcodec/lcldec.c +++ b/libavcodec/lcldec.c @@ -493,37 +493,37 @@ static av_cold int decode_init(AVCodecContext *avctx) c->decomp_size = basesize * 3; max_decomp_size = max_basesize * 3; avctx->pix_fmt = PIX_FMT_YUV444P; - av_log(avctx, AV_LOG_INFO, "Image type is YUV 1:1:1.\n"); + av_log(avctx, AV_LOG_DEBUG, "Image type is YUV 1:1:1.\n"); break; case IMGTYPE_YUV422: c->decomp_size = basesize * 2; max_decomp_size = max_basesize * 2; avctx->pix_fmt = PIX_FMT_YUV422P; - av_log(avctx, AV_LOG_INFO, "Image type is YUV 4:2:2.\n"); + av_log(avctx, AV_LOG_DEBUG, "Image type is YUV 4:2:2.\n"); break; case IMGTYPE_RGB24: c->decomp_size = basesize * 3; max_decomp_size = max_basesize * 3; avctx->pix_fmt = PIX_FMT_BGR24; - av_log(avctx, AV_LOG_INFO, "Image type is RGB 24.\n"); + av_log(avctx, AV_LOG_DEBUG, "Image type is RGB 24.\n"); break; case IMGTYPE_YUV411: c->decomp_size = basesize / 2 * 3; max_decomp_size = max_basesize / 2 * 3; avctx->pix_fmt = PIX_FMT_YUV411P; - av_log(avctx, AV_LOG_INFO, "Image type is YUV 4:1:1.\n"); + av_log(avctx, AV_LOG_DEBUG, "Image type is YUV 4:1:1.\n"); break; case IMGTYPE_YUV211: c->decomp_size = basesize * 2; max_decomp_size = max_basesize * 2; avctx->pix_fmt = PIX_FMT_YUV422P; - av_log(avctx, AV_LOG_INFO, "Image type is YUV 2:1:1.\n"); + av_log(avctx, AV_LOG_DEBUG, "Image type is YUV 2:1:1.\n"); break; case IMGTYPE_YUV420: c->decomp_size = basesize / 2 * 3; max_decomp_size = max_basesize / 2 * 3; avctx->pix_fmt = PIX_FMT_YUV420P; - av_log(avctx, AV_LOG_INFO, "Image type is YUV 4:2:0.\n"); + av_log(avctx, AV_LOG_DEBUG, "Image type is YUV 4:2:0.\n"); break; default: av_log(avctx, AV_LOG_ERROR, "Unsupported image format %d.\n", c->imgtype); @@ -536,11 +536,11 @@ static av_cold int decode_init(AVCodecContext *avctx) case CODEC_ID_MSZH: switch (c->compression) { case COMP_MSZH: - av_log(avctx, AV_LOG_INFO, "Compression enabled.\n"); + av_log(avctx, AV_LOG_DEBUG, "Compression enabled.\n"); break; case COMP_MSZH_NOCOMP: c->decomp_size = 0; - av_log(avctx, AV_LOG_INFO, "No compression.\n"); + av_log(avctx, AV_LOG_DEBUG, "No compression.\n"); break; default: av_log(avctx, AV_LOG_ERROR, "Unsupported compression format for MSZH (%d).\n", c->compression); @@ -551,20 +551,20 @@ static av_cold int decode_init(AVCodecContext *avctx) case CODEC_ID_ZLIB: switch (c->compression) { case COMP_ZLIB_HISPEED: - av_log(avctx, AV_LOG_INFO, "High speed compression.\n"); + av_log(avctx, AV_LOG_DEBUG, "High speed compression.\n"); break; case COMP_ZLIB_HICOMP: - av_log(avctx, AV_LOG_INFO, "High compression.\n"); + av_log(avctx, AV_LOG_DEBUG, "High compression.\n"); break; case COMP_ZLIB_NORMAL: - av_log(avctx, AV_LOG_INFO, "Normal compression.\n"); + av_log(avctx, AV_LOG_DEBUG, "Normal compression.\n"); break; default: if (c->compression < Z_NO_COMPRESSION || c->compression > Z_BEST_COMPRESSION) { av_log(avctx, AV_LOG_ERROR, "Unsupported compression level for ZLIB: (%d).\n", c->compression); return 1; } - av_log(avctx, AV_LOG_INFO, "Compression level for ZLIB: (%d).\n", c->compression); + av_log(avctx, AV_LOG_DEBUG, "Compression level for ZLIB: (%d).\n", c->compression); } break; #endif @@ -584,11 +584,11 @@ static av_cold int decode_init(AVCodecContext *avctx) /* Detect flags */ c->flags = avctx->extradata[6]; if (c->flags & FLAG_MULTITHREAD) - av_log(avctx, AV_LOG_INFO, "Multithread encoder flag set.\n"); + av_log(avctx, AV_LOG_DEBUG, "Multithread encoder flag set.\n"); if (c->flags & FLAG_NULLFRAME) - av_log(avctx, AV_LOG_INFO, "Nullframe insertion flag set.\n"); + av_log(avctx, AV_LOG_DEBUG, "Nullframe insertion flag set.\n"); if ((avctx->codec_id == CODEC_ID_ZLIB) && (c->flags & FLAG_PNGFILTER)) - av_log(avctx, AV_LOG_INFO, "PNG filter flag set.\n"); + av_log(avctx, AV_LOG_DEBUG, "PNG filter flag set.\n"); if (c->flags & FLAGMASK_UNUSED) av_log(avctx, AV_LOG_ERROR, "Unknown flag set (%d).\n", c->flags); |