[MPlayer-dev-eng] vf_dsize rounding error

Oded Shimon ods15 at ods15.dyndns.org
Fri May 5 20:52:33 CEST 2006


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

- ods15




More information about the MPlayer-dev-eng mailing list