blob: 74c8812e86e4aadabc2c31a7896f0d9bbbefcb27 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$OpenBSD: patch-media_gpu_vaapi_vaapi_wrapper_cc,v 1.1 2021/11/16 11:28:47 robert Exp $
Index: media/gpu/vaapi/vaapi_wrapper.cc
--- media/gpu/vaapi/vaapi_wrapper.cc.orig
+++ media/gpu/vaapi/vaapi_wrapper.cc
@@ -559,7 +559,7 @@ VADisplayState::VADisplayState()
bool VADisplayState::Initialize() {
base::AutoLock auto_lock(va_lock_);
-#if defined(USE_OZONE) && defined(OS_LINUX)
+#if defined(USE_OZONE) && (defined(OS_LINUX) || defined(OS_BSD))
// TODO(crbug.com/1116701): add vaapi support for other Ozone platforms on
// Linux. See comment in OzonePlatform::PlatformProperties::supports_vaapi
// for more details. This will also require revisiting everything that's
|