[MPlayer-dev-eng] vf_dsize rounding error

Ivan Kalvachev ikalvachev at gmail.com
Sat May 6 00:49:23 CEST 2006


2006/5/5, Oded Shimon <ods15 at ods15.dyndns.org>:
> On Thu, May 04, 2006 at 01:49:44PM -0400, Alan Curry wrote:
> > In -vf dsize, resolution is calculated as a float and then assigned to an int
> > without any explicit rounding, so unlucky sizes can be computed as X.999999
> > and rounded down, ending up 1 less than the correct size. It would be better
> > to round to the nearest int.
>
> Committed

I though Alan is developer now and can apply his path by himself.




More information about the MPlayer-dev-eng mailing list