Don't call into MediaCodec from the renderer process for VP9.2.
We'll have to limit support to P+, since it's otherwise quite a chore to get the correct MediaCodec status in the renderer. This also does the following: - Strips media:: prefix from media/base/supported_types.cc - Adds warnings to MediaCodecUtil around methods which can't be used from the renderer process. - Moves opus support checks to MediaCodecUtil where they belong. - Moves hevc support checks to MimeUtilInternal::PlatformInfo where they belong. Expands unit test for this. Updates MediaCodecUtil.java to accommodate this. - Removes a unreachable statements from IsCodecSupportedOnAndroid. - Switches MimeUtil to use base::NoDestructor for MimeUtilInternal, required adding const to a few more methods in MimeUtilInternal. BUG=980091, 980682 TEST=passes locally now. R=chcunningham Change-Id: Ib59dce569a5198754e8f5a0df7ee28241f76a5fc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1694241 Commit-Queue: Dale Curtis <dalecurtis@chromium.org> Reviewed-by:Chrome Cunningham <chcunningham@chromium.org> Auto-Submit: Dale Curtis <dalecurtis@chromium.org> Cr-Commit-Position: refs/heads/master@{#677034}
Showing
This diff is collapsed.
Please register or sign in to comment