diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-12-29 22:25:08 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-12-29 22:25:08 +0000 |
commit | 1031fabd14205e1ad2aeb8839f23c20dbcf4fdbe (patch) | |
tree | 5e2f396ddfa284598b0da6eda0c5eb68e5a4f747 /libavcodec/ratecontrol.c | |
parent | 622eb8367b9e8f6d04829051dcec274029f97a80 (diff) | |
download | ffmpeg-streaming-1031fabd14205e1ad2aeb8839f23c20dbcf4fdbe.zip ffmpeg-streaming-1031fabd14205e1ad2aeb8839f23c20dbcf4fdbe.tar.gz |
picture number fixes
Originally committed as revision 2634 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ratecontrol.c')
-rw-r--r-- | libavcodec/ratecontrol.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ratecontrol.c b/libavcodec/ratecontrol.c index 6247315..955290e 100644 --- a/libavcodec/ratecontrol.c +++ b/libavcodec/ratecontrol.c @@ -39,7 +39,7 @@ static double get_qscale(MpegEncContext *s, RateControlEntry *rce, double rate_f void ff_write_pass1_stats(MpegEncContext *s){ sprintf(s->avctx->stats_out, "in:%d out:%d type:%d q:%d itex:%d ptex:%d mv:%d misc:%d fcode:%d bcode:%d mc-var:%d var:%d icount:%d;\n", - s->picture_number, s->input_picture_number - s->max_b_frames, s->pict_type, + s->current_picture_ptr->display_picture_number, s->current_picture_ptr->coded_picture_number, s->pict_type, s->current_picture.quality, s->i_tex_bits, s->p_tex_bits, s->mv_bits, s->misc_bits, s->f_code, s->b_code, s->current_picture.mc_mb_var_sum, s->current_picture.mb_var_sum, s->i_count); } |