From 62702075113bafa1fe53038b2cf0c455cff7a330 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Tue, 30 Aug 2011 05:41:44 +0200 Subject: h264: allow debuging SEI types Signed-off-by: Michael Niedermayer --- libavcodec/h264_sei.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libavcodec/h264_sei.c') diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c index 195ea2856f..374e53dfcf 100644 --- a/libavcodec/h264_sei.c +++ b/libavcodec/h264_sei.c @@ -177,6 +177,9 @@ int ff_h264_decode_sei(H264Context *h){ size+= show_bits(&s->gb, 8); }while(get_bits(&s->gb, 8) == 255); + if(s->avctx->debug&FF_DEBUG_STARTCODE) + av_log(h->s.avctx, AV_LOG_DEBUG, "SEI %d len:%d\n", type, size); + switch(type){ case SEI_TYPE_PIC_TIMING: // Picture timing SEI if(decode_picture_timing(h) < 0) -- cgit v1.2.1