Commit 50dba71b authored by Michael Niedermayer's avatar Michael Niedermayer

ratecontrol: fix get_fps() argument

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ce7876cb
......@@ -253,7 +253,7 @@ int ff_rate_control_init(MpegEncContext *s)
rcc->frame_count[rce.pict_type] ++;
get_qscale(s, &rce, rcc->pass1_wanted_bits/rcc->pass1_rc_eq_output_sum, i);
rcc->pass1_wanted_bits+= s->bit_rate/get_fps(s); //FIXME misbehaves a little for variable fps
rcc->pass1_wanted_bits+= s->bit_rate/get_fps(s->avctx); //FIXME misbehaves a little for variable fps
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment