Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1536)

Unified Diff: content/common/sandbox_linux/bpf_gpu_policy_linux.cc

Issue 374553002: VAVEA: Turn VAAPI encoder flag into a kill switch. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/common/sandbox_linux/bpf_gpu_policy_linux.cc
diff --git a/content/common/sandbox_linux/bpf_gpu_policy_linux.cc b/content/common/sandbox_linux/bpf_gpu_policy_linux.cc
index 14eab4984d09fce1feb43434436dfd162e9cc7e5..4d25f676d5bc0c48d2c90b3ad0227c0aba020a6d 100644
--- a/content/common/sandbox_linux/bpf_gpu_policy_linux.cc
+++ b/content/common/sandbox_linux/bpf_gpu_policy_linux.cc
@@ -77,7 +77,7 @@ bool IsAcceleratedVideoEnabled() {
bool accelerated_encode_enabled = false;
#if defined(OS_CHROMEOS)
accelerated_encode_enabled =
- command_line.HasSwitch(switches::kEnableVaapiAcceleratedVideoEncode);
+ !command_line.HasSwitch(switches::kDisableVaapiAcceleratedVideoEncode);
#endif
return !command_line.HasSwitch(switches::kDisableAcceleratedVideoDecode) ||
accelerated_encode_enabled;

Powered by Google App Engine
This is Rietveld 408576698