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

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

2015-09-28 Thread Arttu Ylä-Outinen
The divisor and dividend in the equation had been swapped, making the result the inverse of the actual bitrate. Signed-off-by: Arttu Ylä-Outinen --- libavcodec/libkvazaar.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/libkvazaar.c b/libavcodec/libkvazaar.c in