blob: a0a7f1ca4935f9c8031091dbbc02cac37e2c1d8e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- media/gpu/vaapi/vaapi_wrapper.cc.orig 2022-06-17 14:20:10 UTC
+++ media/gpu/vaapi/vaapi_wrapper.cc
@@ -590,7 +590,7 @@ VADisplayState::VADisplayState()
bool VADisplayState::Initialize() {
base::AutoLock auto_lock(va_lock_);
-#if defined(USE_OZONE) && BUILDFLAG(IS_LINUX)
+#if defined(USE_OZONE) && (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_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
|