[Webkit-unassigned] [Bug 75184] 10 W3C video and audio canPlayType tests are failing on Mac and Win

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 24 20:20:51 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=75184

Jean-Yves Avenard [:jya] <jean-yves.avenard at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jean-yves.avenard at apple.com

--- Comment #4 from Jean-Yves Avenard [:jya] <jean-yves.avenard at apple.com> ---
The tests are failing because it incorrectly assumes that if testing for codecs support in one container assumes that it will also be supported in another container.

like:
```
 if (v.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"') == "probably") {
  assert_equals(
   v.canPlayType('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'),
   v.canPlayType('video/ogg; codecs="avc1.42E01E"'),
   "ability to play two codecs implies the ability to play one");
 }
```

that avc1 and mp4a is supported in an mp4 doesn't imply that video/ogg is supported.

WebKit on Mac or WPE doesn't support the ogg container.

-- 
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/20230925/55a101f2/attachment-0001.htm>


More information about the webkit-unassigned mailing list