Bug 264931

Summary: [WebM] MediaPlayerPrivateWebM can never enter in error state
Product: WebKit Reporter: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Component: MediaAssignee: Jean-Yves Avenard [:jya] <jean-yves.avenard>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Jean-Yves Avenard [:jya]
Reported 2023-11-16 01:42:17 PST
The SourceBufferParserWebM that the MediaPlayerPrivateWebM is using can detect errors. However, the boolean it sets when an error occurs is never read: https://searchfox.org/wubkat/rev/7753b1fdea4b4605b4851dec61966b8b7247302a/Source/WebCore/platform/graphics/cocoa/MediaPlayerPrivateWebM.mm#1083-1088 And so when playback fails, nothing happen and all you get is a black screen.
Attachments
Radar WebKit Bug Importer
Comment 1 2023-11-16 01:42:38 PST
Jean-Yves Avenard [:jya]
Comment 2 2023-11-17 00:59:18 PST
EWS
Comment 3 2023-11-18 04:29:08 PST
Committed 270938@main (15b788c586a8): <https://commits.webkit.org/270938@main> Reviewed commits have been landed. Closing PR #20655 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.