[FFmpeg-cvslog] ffv1dec: print more information for -debug 1

Michael Niedermayer git at videolan.org
Mon Jun 4 01:04:24 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Jun  4 01:00:26 2012 +0200| [38c9ebd2a97a1298e4c5cc9d01d88d69c55be695] | committer: Michael Niedermayer

ffv1dec: print more information for -debug 1

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

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

 libavcodec/ffv1.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 8eb20fe..4629352 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -1991,7 +1991,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
     }
 
     if(avctx->debug&FF_DEBUG_PICT_INFO)
-        av_log(avctx, AV_LOG_DEBUG, "keyframe:%d coder:%d\n", p->key_frame, f->ac);
+        av_log(avctx, AV_LOG_DEBUG, "ver:%d keyframe:%d coder:%d ec:%d slices:%d\n",
+               f->version, p->key_frame, f->ac, f->ec, f->slice_count);
 
     buf_p= buf + buf_size;
     for(i=f->slice_count-1; i>=0; i--){



More information about the ffmpeg-cvslog mailing list