h264: show recovery SEIs in debug output

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/12/merge
Michael Niedermayer 12 years ago
parent dc7ba0c1f4
commit 19688e87e5
  1. 3
      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;
}

Loading…
Cancel
Save