[FFmpeg-cvslog] r9078 - trunk/libavcodec/mpegvideo.c

michael subversion
Sun May 20 03:41:36 CEST 2007


Author: michael
Date: Sun May 20 03:41:36 2007
New Revision: 9078

Log:
use AV_LOG_ERROR instead of INFO for errors


Modified:
   trunk/libavcodec/mpegvideo.c

Modified: trunk/libavcodec/mpegvideo.c
==============================================================================
--- trunk/libavcodec/mpegvideo.c	(original)
+++ trunk/libavcodec/mpegvideo.c	Sun May 20 03:41:36 2007
@@ -1020,7 +1020,7 @@ int MPV_encode_init(AVCodecContext *avct
     }
 
     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 *avct
     }
 
     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;
     }
 




More information about the ffmpeg-cvslog mailing list