提交 90864f27 编写于 作者: D D Richard Felker III 提交者: Michael Niedermayer

10l found&patch by D Richard Felker III <dalias at aerifal.cx>

Originally committed as revision 649 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 333547be
......@@ -342,7 +342,7 @@ static int init_pass2(MpegEncContext *s)
q= 1/((1/avg_quantizer[pict_type] - 1/short_term_q)*s->qcompress + 1/short_term_q);
if (q<qmin) q=qmin;
else if(q>qmax) q=qmax;
printf("lq:%f, sq:%f t:%f q:%f\n", avg_quantizer[rce->pict_type], short_term_q, bits_left, q);
//printf("lq:%f, sq:%f t:%f q:%f\n", avg_quantizer[rce->pict_type], short_term_q, bits_left, q);
rce->new_qscale= q;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册