[FFmpeg-cvslog] avcodec/mpegvideo: reduce log level for messages about allocating frames.

Robert Krüger krueger at lesspain.de
Fri Aug 30 17:22:23 CEST 2013


On Fri, Aug 30, 2013 at 2:33 PM, Michael Niedermayer <git at videolan.org> wrote:
> ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug 30 14:20:59 2013 +0200| [4f5454d20130160b18ac28b7fd9214a2dabe860b] | committer: Michael Niedermayer
>
> avcodec/mpegvideo: reduce log level for messages about allocating frames.
>
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
>
>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4f5454d20130160b18ac28b7fd9214a2dabe860b
> ---
>
>  libavcodec/mpegvideo.c |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
> index 6ace501..dca9986 100644
> --- a/libavcodec/mpegvideo.c
> +++ b/libavcodec/mpegvideo.c
> @@ -1594,13 +1594,13 @@ int ff_MPV_frame_start(MpegEncContext *s, AVCodecContext *avctx)
>          av_pix_fmt_get_chroma_sub_sample(s->avctx->pix_fmt,
>                                           &h_chroma_shift, &v_chroma_shift);
>          if (s->pict_type == AV_PICTURE_TYPE_B && s->next_picture_ptr && s->next_picture_ptr->f.data[0])
> -            av_log(avctx, AV_LOG_INFO,
> +            av_log(avctx, AV_LOG_DEBUG,
>                     "allocating dummy last picture for B frame\n");
>          else if (s->pict_type != AV_PICTURE_TYPE_I)
>              av_log(avctx, AV_LOG_ERROR,
>                     "warning: first frame is no keyframe\n");
>          else if (s->picture_structure != PICT_FRAME)
> -            av_log(avctx, AV_LOG_INFO,
> +            av_log(avctx, AV_LOG_DEBUG,
>                     "allocate dummy last picture for field based first keyframe\n");
>
>          /* Allocate a dummy frame */
>
thanks


More information about the ffmpeg-cvslog mailing list