diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-08-30 05:41:44 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-08-30 05:41:44 +0200 |
commit | 62702075113bafa1fe53038b2cf0c455cff7a330 (patch) | |
tree | c3b1968d84a2e7d5ac7449011b5d6c1bb50e3213 /libavcodec/h264_sei.c | |
parent | caf63ebd0b314faf0922bf2042ad1545d602a56a (diff) | |
download | ffmpeg-streaming-62702075113bafa1fe53038b2cf0c455cff7a330.zip ffmpeg-streaming-62702075113bafa1fe53038b2cf0c455cff7a330.tar.gz |
h264: allow debuging SEI types
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_sei.c')
-rw-r--r-- | libavcodec/h264_sei.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/h264_sei.c b/libavcodec/h264_sei.c index 195ea28..374e53d 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) |