[wpt-sync] Sync PR 22071 - Give blink::CueTimeline a timer for precisely handling cue events
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox82 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 22071 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/22071
Details from upstream follow.
Will Cassella <cassew@google.com> wrote:
Give blink::CueTimeline a timer for precisely handling cue events
Cue-related events (enter, exit, cuechange) are fired up to 250ms late,
and there is a similar latency in their display which is quite
noticeable.The underlying problem is that we only update cues alongside the
timeupdate
event, which is fixed at 4 Hz.My solution is to add a separate timer to CueTimeline
(CueTimeline::cue_event_timer_
) which is given a timeout for the
next cue event based on the current playback position and rate. This
allows for significantly more precise cue timing accuracy without a
significant performance penalty.Bug: 576310
Change-Id: I675f5f030a68ba9cee10e12b3e79a9b174048193
Reviewed-on: https://chromium-review.googlesource.com/2008079
WPT-Export-Revision: 9db84c755d44f9ffdd525a161142ea5d51095b95
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 1•4 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=7b8fd0d1181b22c8f22ee1c515061994c198f21a
Assignee | ||
Comment 2•4 years ago
|
||
CI Results
Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 2 tests and 1 subtests
Status Summary
Firefox
OK : 2
PASS : 2
Chrome
OK : 2
PASS : 1
FAIL : 1
Safari
OK : 1
PASS : 1
FAIL : 1
ERROR: 1
Links
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4298303bcb61 [wpt PR 22071] - Give blink::CueTimeline a timer for precisely handling cue events, a=testonly
Comment 4•4 years ago
|
||
bugherder |
Description
•