aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-12 18:43:17 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-12 18:43:17 +0100
commit19688e87e5f87421146eda62797644d5b25dfacc (patch)
tree8a57b4cf97d880962e49d1861e13779edf66fe3a /libavcodec
parentdc7ba0c1f4e92c3c7c3b3538696ed277510ae99e (diff)
downloadffmpeg-19688e87e5f87421146eda62797644d5b25dfacc.tar.gz
h264: show recovery SEIs in debug output
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264_sei.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index ece54f1007..be6cb58316 100644
--- a/libavcodec/h264_sei.c
+++ b/libavcodec/h264_sei.c
@@ -161,6 +161,9 @@ static int decode_recovery_point(H264Context *h){
h->sei_recovery_frame_cnt = get_ue_golomb(&h->gb);
skip_bits(&h->gb, 4); /* 1b exact_match_flag, 1b broken_link_flag, 2b changing_slice_group_idc */
+ if(h->avctx->debug & FF_DEBUG_PICT_INFO)
+ av_log(h->avctx, AV_LOG_DEBUG, "sei_recovery_frame_cnt: %d\n", h->sei_recovery_frame_cnt);
+
return 0;
}