commit | be28a6470d35fdf50f9eaa7e10462621be9783fe | [log] [tgz] |
---|---|---|
author | Dan Sanders <sandersd@chromium.org> | Sat Dec 22 02:06:26 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Dec 22 02:06:26 2018 |
tree | 43568ee28c8894c514c030107ba359fd697a63fa | |
parent | 1400fc8b1a7ecd51bfc9f693e06b8417dc061a7b [diff] |
[media] Do not use SupportedProfiles for RTCVideoDecoderAdapter. SupportedProfiles is a VDA feature and should not be used for MojoVideoDecoder paths. This CL adds a replacement check via GpuVideoAcceleratorFactories::IsDecoderConfigSupported(), and deprecates RTCVideoDecoderFactory::GetSupportedFormats(). If RTC wants to add a dependency on RTCVideoDecoderFactory::GetSupportedFormats() in the future, there are a number of challenges related to asynchronicity that must be solved. For example, reporting 'all supported' before the GpuVideoAcceleratorFactories cache is filled can totally break a connection in cases where there is no software fallback. Bug: 857111 Change-Id: Iae5122f5c119dfe30e7d15e183dd21305214c4fb Reviewed-on: https://chromium-review.googlesource.com/c/1372888 Commit-Queue: Dan Sanders <sandersd@chromium.org> Reviewed-by: Emircan Uysaler <emircan@chromium.org> Cr-Commit-Position: refs/heads/master@{#618711}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .