aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-media_gpu_gpu__video__encode__accelerator__factory.cc
blob: 6132dda3840f908f22c0ff7d04b374db02697ef3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- media/gpu/gpu_video_encode_accelerator_factory.cc.orig	2023-10-19 19:58:27 UTC
+++ media/gpu/gpu_video_encode_accelerator_factory.cc
@@ -119,7 +119,7 @@ std::vector<VEAFactoryFunction> GetVEAFactoryFunctions
     return vea_factory_functions;
 
 #if BUILDFLAG(USE_VAAPI)
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   if (base::FeatureList::IsEnabled(kVaapiVideoEncodeLinux))
     vea_factory_functions.push_back(base::BindRepeating(&CreateVaapiVEA));
 #else