Skip to content

Commit 695f086

Browse files
committed
ffv1dec: print bps for pict debug too
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
1 parent df82454 commit 695f086

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libavcodec/ffv1.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2082,8 +2082,8 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
20822082
}
20832083

20842084
if(avctx->debug&FF_DEBUG_PICT_INFO)
2085-
av_log(avctx, AV_LOG_DEBUG, "ver:%d keyframe:%d coder:%d ec:%d slices:%d\n",
2086-
f->version, p->key_frame, f->ac, f->ec, f->slice_count);
2085+
av_log(avctx, AV_LOG_DEBUG, "ver:%d keyframe:%d coder:%d ec:%d slices:%d bps:%d\n",
2086+
f->version, p->key_frame, f->ac, f->ec, f->slice_count, f->avctx->bits_per_raw_sample);
20872087

20882088
buf_p= buf + buf_size;
20892089
for(i=f->slice_count-1; i>=0; i--){

0 commit comments

Comments
 (0)