Skip to content

Commit

Permalink
ffv1dec: print bps for pict debug too
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
  • Loading branch information
michaelni committed Oct 3, 2012
1 parent df82454 commit 695f086
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libavcodec/ffv1.c
Expand Up @@ -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--){
Expand Down

0 comments on commit 695f086

Please sign in to comment.