Re: [FFmpeg-devel] [PATCH 6/7] libkvazaar: Fix setting target bitrate

2015-09-28 Thread Arttu Ylä-Outinen
On 2015-09-28 15:11, Carl Eugen Hoyos wrote: Arttu Ylä-Outinen tut.fi> writes: The divisor and dividend in the equation had been swapped, making the result the inverse of the actual bitrate. cfg->framerate = - (double)(avctx->time_base.num * avctx->ticks_per_frame) / avctx->time_bas

Re: [FFmpeg-devel] [PATCH 6/7] libkvazaar: Fix setting target bitrate

2015-09-28 Thread Carl Eugen Hoyos
Arttu Ylä-Outinen tut.fi> writes: > The divisor and dividend in the equation had been swapped, > making the result the inverse of the actual bitrate. > cfg->framerate = > - (double)(avctx->time_base.num * avctx->ticks_per_frame) / > avctx->time_base.den; > + avctx->time_base.den