зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1551025 [wpt PR 16759] - MSE: Enable 'video/mp4' opus IsTypeSupported success, a=testonly
Automatic update from web-platform-tests MSE: Enable 'video/mp4' opus IsTypeSupported success Previously, only 'audio/mp4' would report support for opus codec in Chromium MSE. This change adds support for opus codec in 'video/mp4' mime to Chromium. For example, MediaSource.IsTypeSupported('video/mp4; codecs="opus"') now returns true with this change. Also adds a couple opus-in-mp4 and -in-webm IsTypeSupported test cases to the interop wpt suite, though the particular test file is currently marked [ failure pass ] in Blink TestExpectations due to those tests containing a mix of proprietary and non-proprietary codecs such that bots running without all the necessary codec support will fail the test. I've filed https://crbug.com/961443 to track improving MSE IsTypeSupported test coverage at least in Chromium. BUG=649438 Change-Id: I7c47b6c2566432be9627394f5ff30e0a43888300 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1603527 Reviewed-by: Dan Sanders <sandersd@chromium.org> Commit-Queue: Matthew Wolenetz <wolenetz@chromium.org> Cr-Commit-Position: refs/heads/master@{#658339} -- wpt-commits: f3248c35c979b8d4a2f3ad7faa028e0d2667044a wpt-pr: 16759
This commit is contained in:
Родитель
4c2a47953a
Коммит
545032b7dc
|
@ -66,6 +66,8 @@
|
|||
'video/webm;codecs="vorbis, vp8"',
|
||||
'audio/webm;codecs="vorbis"',
|
||||
'AUDIO/WEBM;CODECS="vorbis"',
|
||||
'audio/webm;codecs="opus"',
|
||||
'video/webm;codecs="opus"'
|
||||
], true, 'Test valid WebM type');
|
||||
|
||||
test_type_support([
|
||||
|
@ -78,6 +80,8 @@
|
|||
'video/mp4;codecs="avc1.4d001e,mp4a.40.2"',
|
||||
'video/mp4;codecs="mp4a.40.2 , avc1.4d001e "',
|
||||
'video/mp4;codecs="avc1.4d001e,mp4a.40.5"',
|
||||
'audio/mp4;codecs="opus"',
|
||||
'video/mp4;codecs="opus"'
|
||||
], true, 'Test valid MP4 type');
|
||||
</script>
|
||||
</body>
|
||||
|
|
Загрузка…
Ссылка в новой задаче