ec: print picture type with concealment error message.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Jul 2012 02:04:54 +0000 (04:04 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 24 Jul 2012 02:12:18 +0000 (04:12 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/error_resilience.c

index 58e3754..7fc6890 100644 (file)
@@ -1075,8 +1075,8 @@ void ff_er_frame_end(MpegEncContext *s)
         if (error & ER_MV_ERROR)
             mv_error++;
     }
-    av_log(s->avctx, AV_LOG_INFO, "concealing %d DC, %d AC, %d MV errors\n",
-           dc_error, ac_error, mv_error);
+    av_log(s->avctx, AV_LOG_INFO, "concealing %d DC, %d AC, %d MV errors in %c frame\n",
+           dc_error, ac_error, mv_error, av_get_picture_type_char(s->pict_type));
 
     is_intra_likely = is_intra_more_likely(s);