mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 12:09:55 +00:00
10l found&patch by D Richard Felker III <dalias at aerifal.cx>
Originally committed as revision 649 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
333547be44
commit
90864f2712
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user