commit | 241124f96bf25b08fe2f65f0259b618accfd7ec7 | [log] [tgz] |
---|---|---|
author | Julien Isorce <julien.isorce@chromium.org> | Fri Dec 14 22:33:26 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Dec 14 22:33:26 2018 |
tree | 47d9eace6489b18a1df737149e0d2379d7678b10 | |
parent | 3a9c11be4ab757fe081075ff8297180f750fb26b [diff] |
Make sure to fallback to VDA1 if mojo video decoder is disabled at buildtime Also avoids a few ipc round trips when mojo video decoder is enabled at buildtime but disabled at runtime. Previously external_decoder_factory_->CreateVideoDecoders was still called in that case. Tested on Linux desktop with gn args: - use_vaapi = true (default is false) - enable_mojo_media = false (default is also false) ./out/release/chrome --ignore-gpu-blacklist --use-gl=desktop url_to_vp9_video ./out/release/chrome --ignore-gpu-blacklist --use-gl=egl url_to_vp9_video -> GpuVideoDecoder (VDA1) was in use Bug: 522298 Change-Id: Ia7566877f76da8d108d8993c57c6d29d745cfa8a Reviewed-on: https://chromium-review.googlesource.com/c/1374741 Reviewed-by: Dan Sanders <sandersd@chromium.org> Commit-Queue: Julien Isorce <julien.isorce@chromium.org> Cr-Commit-Position: refs/heads/master@{#616855}
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 .