W3C home > Mailing lists > Public > public-media-capture@w3.org > August 2014

Re: [Bug 26526] Fix aspect ratio constraint

From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 11 Aug 2014 15:17:37 -0700
Message-ID: <CABkgnnUJMJz9mVGdMAhibSM7nHacfyfUW2md5i7uSKxkDJKN-w@mail.gmail.com>
To: Jan-Ivar Bruaroey <jib@mozilla.com>
Cc: Silvia Pfeiffer <silviapfeiffer1@gmail.com>, Eric Rescorla <ekr@rtfm.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>, "bugzilla@jessica.w3.org" <bugzilla@jessica.w3.org>
On 11 August 2014 14:34, Jan-Ivar Bruaroey <jib@mozilla.com> wrote:
> Actually, the spec already says: "The exact aspect ratio (width in pixels
> divided by height in pixels), represented as a double rounded to the tenth
> decimal place" [1]
> So we effectively have our epsilon already: .0000000001
> So no action required it seems.

Oh, that's good, there's an epsilon; but it's bad.  1.777777778 isn't
the same as 16/9 based on that.  Nor is 1.7777777777.  Add a single
digit to either and it would match.  I may have counted wrong.  I'm
sure that others will too.
Received on Monday, 11 August 2014 22:18:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:26:29 UTC