blob: 0953c967096f9ae7c55a875caa9237cf39ed070b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- media/gpu/vaapi/vaapi_wrapper.cc.orig 2022-02-28 16:54:41 UTC
+++ media/gpu/vaapi/vaapi_wrapper.cc
@@ -567,7 +567,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
|