Index: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc |
diff --git a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc |
index 02d54771346f4823f010682822327ee21ba9adcd..67a592fab99193b71fd81936b088110fc5f049c0 100644 |
--- a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc |
+++ b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.cc |
@@ -180,6 +180,11 @@ bool CrosArmGpuProcessPolicy::PreSandboxHook() { |
// Preload the Mali library. |
dlopen("/usr/lib/libmali.so", dlopen_flag); |
+ // Preload the Tegra V4L2 (video decode acceleration) library. |
+ dlopen("/usr/lib/libtegrav4l2.so", dlopen_flag); |
+ // Resetting errno since platform-specific libraries will fail on other |
+ // platforms. |
+ errno = 0; |
return true; |
} |