W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > January 2011

[Bug 11647] Use exactly 2 digits for hours in WebVTT timestamps

From: <bugzilla@jessica.w3.org>
Date: Sun, 02 Jan 2011 21:23:46 +0000
To: public-html-bugzilla@w3.org
Message-Id: <E1PZVP0-0003iu-Cp@jessica.w3.org>
http://www.w3.org/Bugs/Public/show_bug.cgi?id=11647

Philip Jägenstedt <philipj@opera.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipj@opera.com

--- Comment #1 from Philip Jägenstedt <philipj@opera.com> 2011-01-02 21:23:46 UTC ---
It seems to me that the parsing of WebVTT timestamps is more convoluted than it
needs to be, and that the reason is that hours can be any number of digits. In
SRT it is exactly 2 and I think just going with that would be simpler. Allowing
an arbitrary number of digits just makes parsing more complex and forces
implementors to handle overflow in timestamps like
99999999999999999999999999:00:00.000 and using greater precision than really
necessary.

There's also extra logic thrown in to not allow single-digit minutes in step
13.1.

I'd prefer exactly 2 digits for hours, limiting WebVTT to use with video files
of duration shorter than 100 hours, which is hardly a practical problem.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
Received on Sunday, 2 January 2011 21:23:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 2 January 2011 21:23:56 GMT