[FFmpeg-cvslog] mpegvideo_enc: use AV_LOG_ERROR instead of AV_LOG_INFO for two error messages
ami_stuff
git at videolan.org
Thu May 26 02:00:08 CEST 2011
ffmpeg | branch: master | ami_stuff <ami_stuff at o2.pl> | Wed May 25 23:38:16 2011 +0200| [feae7ad2f809c8e1007503031e231d1590514d66] | committer: Michael Niedermayer
mpegvideo_enc: use AV_LOG_ERROR instead of AV_LOG_INFO for two error messages
use AV_LOG_ERROR instead of AV_LOG_INFO for two error messages
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=feae7ad2f809c8e1007503031e231d1590514d66
---
libavcodec/mpegvideo_enc.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/mpegvideo_enc.c b/libavcodec/mpegvideo_enc.c
index 7c573b4..0bc694c 100644
--- a/libavcodec/mpegvideo_enc.c
+++ b/libavcodec/mpegvideo_enc.c
@@ -352,7 +352,7 @@ av_cold int MPV_encode_init(AVCodecContext *avctx)
}
if(avctx->rc_max_rate && avctx->rc_max_rate < avctx->bit_rate){
- av_log(avctx, AV_LOG_INFO, "bitrate above max bitrate\n");
+ av_log(avctx, AV_LOG_ERROR, "bitrate above max bitrate\n");
return -1;
}
@@ -582,7 +582,7 @@ av_cold int MPV_encode_init(AVCodecContext *avctx)
case CODEC_ID_H263:
if (!CONFIG_H263_ENCODER) return -1;
if (ff_match_2uint16(h263_format, FF_ARRAY_ELEMS(h263_format), s->width, s->height) == 8) {
- av_log(avctx, AV_LOG_INFO, "The specified picture size of %dx%d is not valid for the H.263 codec.\nValid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.\n", s->width, s->height);
+ av_log(avctx, AV_LOG_ERROR, "The specified picture size of %dx%d is not valid for the H.263 codec.\nValid sizes are 128x96, 176x144, 352x288, 704x576, and 1408x1152. Try H.263+.\n", s->width, s->height);
return -1;
}
s->out_format = FMT_H263;
More information about the ffmpeg-cvslog
mailing list