Seen with bug 231005 MediaPlayerPrivateAVFoundationObjC::paintWithVideoOutput checks that we have a video track before creating an image. However to checks if a video track exists it calls AVAssetTrack* firstEnabledVideoTrack = firstEnabledTrack(safeAVAssetTracksForVisualMedia()); safeAVAssetTracksForVisualMedia queries m_avAsset (a AVURLAsset) for the list of track. However, with HLS the AVURLAsset doesn't contain any tracks, instead they are found in the AVPlayerItem instead.
<rdar://problem/83884031>
Created attachment 440208 [details] Patch
Committed r283585 (242543@main): <https://commits.webkit.org/242543@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 440208 [details].