[FFmpeg-cvslog] ffv1dec: print bps for pict debug too

Michael Niedermayer git at videolan.org
Wed Oct 3 05:48:40 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Oct  3 05:43:32 2012 +0200| [695f0869395ef3db624dca9d117dd40c74a7c3b1] | committer: Michael Niedermayer

ffv1dec: print bps for pict debug too

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

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

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

diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 7c68b2f..c080294 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -2082,8 +2082,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, "ver:%d keyframe:%d coder:%d ec:%d slices:%d\n",
-               f->version, p->key_frame, f->ac, f->ec, f->slice_count);
+        av_log(avctx, AV_LOG_DEBUG, "ver:%d keyframe:%d coder:%d ec:%d slices:%d bps:%d\n",
+               f->version, p->key_frame, f->ac, f->ec, f->slice_count, f->avctx->bits_per_raw_sample);
 
     buf_p= buf + buf_size;
     for(i=f->slice_count-1; i>=0; i--){



More information about the ffmpeg-cvslog mailing list