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

Re: [Bug 26526] Fix aspect ratio constraint

From: Jan-Ivar Bruaroey <jib@mozilla.com>
Date: Thu, 11 Sep 2014 15:21:39 -0400
Message-ID: <5411F643.8040201@mozilla.com>
To: cowwoc <cowwoc@bbs.darktech.org>, Stefan Håkansson LK <stefan.lk.hakansson@ericsson.com>, "public-media-capture@w3.org" <public-media-capture@w3.org>
On 9/11/14 3:02 PM, cowwoc wrote:
> Good point. Remind me again why users shouldn't be allowed to specify 
> the epsilon?

Because it is too complicated and redundant when { aspectRatio: { exact: 
16/9 } } always works?

> One user might want *exactly* one aspect ratio and another might want 
> something *roughly* around another ratio. Isn't this a business decision?

Use { aspectRatio: { min: 16/9 - business_epsilon/2, max: 16/9 + 
business_epsilon/2 } }

.: Jan-Ivar :.
Received on Thursday, 11 September 2014 19:22:09 UTC

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