drawImage Javascript method not working on HTMLVideoElement with HLS source

Number:rdar://FB9848602 Date Originated:17.01.2022
Status:Open Resolved:
Product:Safari Product Version:15.2
Classification: Reproducible:Yes
https://jsfiddle.net/kmturley/pch4dew5/11/ is a test project to expose  the problem. 

There, HLS Video playback is captured with drawImage to canvas by pressing the Capture button.

The capture works on Safari 15.1 (and earlier), the capture does not work on Safari 15.2. 
Safari 15.2 works only if the experimental flag "GPU Process: Canvas Rendering" is turned off (and browser restarted).

Note, webkit has a test case about it:http/tests/media/video-hls-copy-into-canvas.html

added 5.Oct.2021 (https://trac.webkit.org/changeset/283585/webkit)


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!