aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-07-24 04:04:54 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-07-24 04:12:18 +0200
commit2e346bdaba4e984ac3c54f38a9ee2a34ce4449b5 (patch)
treeafd0777043230d75bb3bae8a04b1432cd79891c8
parent3f22fcce3ae67ef052b435a8aaee266e258f0734 (diff)
downloadffmpeg-2e346bdaba4e984ac3c54f38a9ee2a34ce4449b5.tar.gz
ec: print picture type with concealment error message.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/error_resilience.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c
index 58e3754b7c..7fc68905e2 100644
--- a/libavcodec/error_resilience.c
+++ b/libavcodec/error_resilience.c
@@ -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);