summaryrefslogtreecommitdiff
path: root/libavcodec/h264_sei.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-08-30 05:41:44 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-08-30 05:41:44 +0200
commit62702075113bafa1fe53038b2cf0c455cff7a330 (patch)
treec3b1968d84a2e7d5ac7449011b5d6c1bb50e3213 /libavcodec/h264_sei.c
parentcaf63ebd0b314faf0922bf2042ad1545d602a56a (diff)
downloadffmpeg-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.c3
1 files changed, 3 insertions, 0 deletions
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)