Browse Source

h264: allow debuging SEI types

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.9
Michael Niedermayer 14 years ago
parent
commit
6270207511
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      libavcodec/h264_sei.c

+ 3
- 0
libavcodec/h264_sei.c View File

@@ -177,6 +177,9 @@ int ff_h264_decode_sei(H264Context *h){
size+= show_bits(&s->gb, 8); size+= show_bits(&s->gb, 8);
}while(get_bits(&s->gb, 8) == 255); }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){ switch(type){
case SEI_TYPE_PIC_TIMING: // Picture timing SEI case SEI_TYPE_PIC_TIMING: // Picture timing SEI
if(decode_picture_timing(h) < 0) if(decode_picture_timing(h) < 0)


Loading…
Cancel
Save