diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-05-20 01:41:36 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-05-20 01:41:36 +0000 |
commit | db7f647e1082fa20c7094aeece0728e530e5f029 (patch) | |
tree | e46e2e987d8c5bb6aed329a88fc0a461106b1c7c | |
parent | 64be2e60ef7b7b7f0da9b4a0921e4cfdf8f87da2 (diff) | |
download | ffmpeg-db7f647e1082fa20c7094aeece0728e530e5f029.tar.gz |
use AV_LOG_ERROR instead of INFO for errors
Originally committed as revision 9078 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/mpegvideo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c index 8f07b6196d..fb4c76a000 100644 --- a/libavcodec/mpegvideo.c +++ b/libavcodec/mpegvideo.c @@ -1020,7 +1020,7 @@ int MPV_encode_init(AVCodecContext *avctx) } if(avctx->rc_min_rate && avctx->rc_min_rate > avctx->bit_rate){ - av_log(avctx, AV_LOG_INFO, "bitrate below min bitrate\n"); + av_log(avctx, AV_LOG_ERROR, "bitrate below min bitrate\n"); return -1; } @@ -1030,12 +1030,12 @@ int MPV_encode_init(AVCodecContext *avctx) } if(avctx->rc_buffer_size && avctx->bit_rate*av_q2d(avctx->time_base) > avctx->rc_buffer_size){ - av_log(avctx, AV_LOG_INFO, "VBV buffer too small for bitrate\n"); + av_log(avctx, AV_LOG_ERROR, "VBV buffer too small for bitrate\n"); return -1; } if(avctx->bit_rate*av_q2d(avctx->time_base) > avctx->bit_rate_tolerance){ - av_log(avctx, AV_LOG_INFO, "bitrate tolerance too small for bitrate\n"); + av_log(avctx, AV_LOG_ERROR, "bitrate tolerance too small for bitrate\n"); return -1; } |