[FFmpeg-cvslog] h264: show recovery SEIs in debug output

Michael Niedermayer git at videolan.org
Tue Mar 12 18:57:51 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Mar 12 18:43:17 2013 +0100| [19688e87e5f87421146eda62797644d5b25dfacc] | committer: Michael Niedermayer

h264: show recovery SEIs in debug output

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=19688e87e5f87421146eda62797644d5b25dfacc
---

 libavcodec/h264_sei.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c
index ece54f1..be6cb58 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;
 }
 



More information about the ffmpeg-cvslog mailing list