[Webkit-unassigned] [Bug 52697] Frame accurate seeking isn't always accurate

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 19 13:37:12 PST 2011


https://bugs.webkit.org/show_bug.cgi?id=52697





--- Comment #3 from Jer Noble <jer.noble at apple.com>  2011-01-19 13:37:13 PST ---
I believe the problem at 00:13 is due to a rounding error:

- The sample containing the "00:13" frame begins at 46800/90000 (where 90000 is the media time scale).
- This converts to 0.52000000000000002 in float math.  
- The test case attempts to set the current time to 0.52
- JavaScript converts that to float 0.5199999809265137.
- The media engine jumps precisely to 0.5199999809265137.
- This is before the beginning of the desired sample, and so sample isn't shown at that time.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list