changeset 5048:59f2f619f4a2 libavcodec

use AV_LOG_ERROR instead of INFO for errors
author michael
date Sun, 20 May 2007 01:41:36 +0000
parents 460a12052adf
children 668249bc4c16
files mpegvideo.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo.c	Sun May 20 01:35:15 2007 +0000
+++ b/mpegvideo.c	Sun May 20 01:41:36 2007 +0000
@@ -1020,7 +1020,7 @@
     }
 
     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 @@
     }
 
     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;
     }