aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-media_gpu_vaapi_vaapi__wrapper.cc
blob: b70a6cd662498a51ee3ef20d488f92c10cbedc6a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- media/gpu/vaapi/vaapi_wrapper.cc.orig	2023-05-31 08:12:17 UTC
+++ media/gpu/vaapi/vaapi_wrapper.cc
@@ -1609,7 +1609,7 @@ VADisplayStateHandle VADisplayStateSingleton::GetHandl
     return {};
   }
 
-#if BUILDFLAG(IS_OZONE) && BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_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