Print ct_type and pic_struct.
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 3 Jun 2009 19:23:34 +0000 (19:23 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 3 Jun 2009 19:23:34 +0000 (19:23 +0000)
Originally committed as revision 19081 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264.c

index 056e1cc..a4d7920 100644 (file)
@@ -6891,6 +6891,9 @@ static int decode_picture_timing(H264Context *h){
                     skip_bits(&s->gb, h->sps.time_offset_length); /* time_offset */
             }
         }
+
+        if(s->avctx->debug & FF_DEBUG_PICT_INFO)
+            av_log(s->avctx, AV_LOG_DEBUG, "ct_type:%X pic_struct:%d\n", h->sei_ct_type, h->sei_pic_struct);
     }
     return 0;
 }