On 2015-09-28 15:11, Carl Eugen Hoyos wrote:
Arttu Ylä-Outinen <arttu.yla-outinen <at> 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 / (double)(avctx->time_base.num *
avctx->ticks_per_frame);
The patch description and the patch do not
match - framerate != bitrate - or do I misunderstand?
Whoops, it is an error in the description.
- Arttu
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel