[FFmpeg-cvslog] h264: allow debuging SEI types

Michael Niedermayer git at videolan.org
Tue Aug 30 07:24:30 CEST 2011


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Aug 30 05:41:44 2011 +0200| [62702075113bafa1fe53038b2cf0c455cff7a330] | committer: Michael Niedermayer

h264: allow debuging SEI types

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=62702075113bafa1fe53038b2cf0c455cff7a330
---

 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)



More information about the ffmpeg-cvslog mailing list