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

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, 4 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 673e59df9dd63bf077b088bba0179bb6394d3a69..71efae7c4af0ab2c572499f154ffa6b405b6d38e 100644
--- a/content/common/sandbox_linux/bpf_gpu_policy_linux.cc
+++ b/content/common/sandbox_linux/bpf_gpu_policy_linux.cc
@@ -78,7 +78,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;
« no previous file with comments | « content/common/gpu/media/vaapi_video_encode_accelerator.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698