aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc
blob: 390fa72f23d02f68855510699d184a6154a04e3b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- media/gpu/vaapi/vaapi_wrapper.cc.orig	2022-07-22 17:30:31 UTC
+++ media/gpu/vaapi/vaapi_wrapper.cc
@@ -592,7 +592,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