Revision df3a80b5 libavcodec/ratecontrol.c

View differences:

libavcodec/ratecontrol.c
243 243
                bits= rce.i_tex_bits + rce.p_tex_bits;
244 244

  
245 245
                q= get_qscale(s, &rce, rcc->pass1_wanted_bits/rcc->pass1_rc_eq_output_sum, i);
246
                rcc->pass1_wanted_bits+= s->bit_rate/(1/av_q2d(s->avctx->time_base)); //FIXME missbehaves a little for variable fps
246
                rcc->pass1_wanted_bits+= s->bit_rate/(1/av_q2d(s->avctx->time_base)); //FIXME misbehaves a little for variable fps
247 247
            }
248 248
        }
249 249

  

Also available in: Unified diff