[Webkit-unassigned] [Bug 223612] New: Looping WebGL video with no audio freezes at end when rendered at currentTime == 0
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Mar 22 17:03:45 PDT 2021
https://bugs.webkit.org/show_bug.cgi?id=223612
Bug ID: 223612
Summary: Looping WebGL video with no audio freezes at end when
rendered at currentTime == 0
Product: WebKit
Version: Safari 14
Hardware: Mac (Intel)
OS: macOS 11
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: webkitbugzilla at aminmesbah.com
Created attachment 423964
--> https://bugs.webkit.org/attachment.cgi?id=423964&action=review
Minimal bug example with instructions
When a WebGL texture is being updated with frames from a looping playing video
element through calls to `gl.texImage2d()`, a set of conditions will
intermittently cause it to freeze when it reaches its end.
The set of conditions is:
- The video has no audio track.
- The video is looping.
- `gl.texImage2d()` gets called when the video's `currentTime` is 0.
This happens far more often when the system is under heavy load (many other
Safari tabs and windows are open doing lots of work).
At the point the video freezes:
- The WebGL texture stops visibly updating.
- The video's `currentTime` stops changing.
- `timeupdate` events stop firing.
- `video.seeking` is false.
- `video.paused` is false.
I have reproduced the issue with a minimal html/js file and public domain video,
which I've attached in a zip archive.
Open it in Safari with the system under load and refresh repeatedly until the
video freezes on its last frame.
The example code has two booleans near the top. The bug will not manifest if
either is set to false.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210323/68a6a264/attachment-0001.htm>
More information about the webkit-unassigned
mailing list