Bug 242854
Summary: | WebM file fail to play | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | Other | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jean-Yves Avenard [:jya]
STR:
1- Open https://registry.khronos.org/webgl/sdk/tests/resources/red-green.webmvp8.webm
Actual: A media error is produced.
Expected: Video plays.
The video contains an empty vorbis track, this causes the AVFObjC player to later fail as if it finds a track that is not playbable to be a fatal error (failure in MediaPlayerPrivateAVFoundationObjC::trackIsPlayable)
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/97190939>
Jean-Yves Avenard [:jya]
In this particular case, we could make the track be ignored by the MediaFormatReader if a track is disabled because it contains no data.
However, this begs the question: should a file fail to play when a given track is invalid or should it be just ignored?
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/2538
EWS
Committed 254219@main (af6020b7b7f9): <https://commits.webkit.org/254219@main>
Reviewed commits have been landed. Closing PR #2538 and removing active labels.