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

[whatwg] HTML5 video: frame accuracy / SMPTE

From: Aryeh Gregor <Simetrical+w3c@gmail.com>
Date: Wed, 12 Jan 2011 19:03:03 -0500
Message-ID: <AANLkTikakDwRPHwKY1qjusTtT-Y4B08CWWsOp=CnpZya@mail.gmail.com>
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.
Received on Wednesday, 12 January 2011 16:03:03 UTC

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