diff options
author | sandersd <sandersd@chromium.org> | 2016-01-08 16:39:18 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-01-09 00:40:38 +0000 |
commit | bcbd85c1c6067e05da5245b7fdabb084c48d5c32 (patch) | |
tree | 376aa44f2bd98c3bf2ff8b8f176fdbdfc18905fd /media/formats | |
parent | e242bf09a2c466321444d77ce2a778a85cfa99e2 (diff) | |
download | chromium_src-bcbd85c1c6067e05da5245b7fdabb084c48d5c32.zip chromium_src-bcbd85c1c6067e05da5245b7fdabb084c48d5c32.tar.gz chromium_src-bcbd85c1c6067e05da5245b7fdabb084c48d5c32.tar.bz2 |
Implement fallback from WMPI to WMPA.
With this change, RenderFrameImpl::createMediaPlayer() will select between WMPI and WMPA on Android. Specifically, WMPI will be used unless:
- --disable-accelerated-video-decode is set.
- MediaCodec is not supported (because the API level is too low or the device is blacklisted).
- The URL indicates that the video is HLS.
Additionally, --disable-accelerated-video-decode is now automatically set whenever any of these flags are set:
--disable-gpu
--single-process
--in-process-gpu
Since in these modes VDAs do not currently work (and these flags are not passed to the renderer).
BUG=516765
Review URL: https://codereview.chromium.org/1560953002
Cr-Commit-Position: refs/heads/master@{#368475}
Diffstat (limited to 'media/formats')
0 files changed, 0 insertions, 0 deletions