W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2011

[whatwg] HTML5 video: frame accuracy / SMPTE

From: Philip Jägenstedt <philipj@opera.com>
Date: Thu, 13 Jan 2011 08:45:49 +0100
Message-ID: <op.vo8k6ne8sr6mfa@kirk>
On Thu, 13 Jan 2011 01:03:03 +0100, Aryeh Gregor  
<Simetrical+w3c at gmail.com> wrote:

> On Wed, Jan 12, 2011 at 3:42 AM, Philip J?genstedt <philipj at opera.com>  
> wrote:
>> * add HTMLMediaElement.seek(t, [exact]), where exact defaults to false  
>> if
>> missing
>
> Boolean parameters are evil, since it's impossible to guess what they
> do from reading the code.  Make it a two-value enum instead.  The
> second argument could be extended to a bitfield later if desired, too.

WFM

-- 
Philip J?genstedt
Core Developer
Opera Software
Received on Wednesday, 12 January 2011 23:45:49 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:29 UTC