blob: 0008a164150cc2f73682750c1e23e3f8ac328a76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- media/video/video_encode_accelerator_adapter.cc.orig 2025-04-22 20:15:27 UTC
+++ media/video/video_encode_accelerator_adapter.cc
@@ -468,7 +468,7 @@ void VideoEncodeAcceleratorAdapter::InitializeOnAccele
auto format = PIXEL_FORMAT_I420;
auto storage_type = VideoEncodeAccelerator::Config::StorageType::kShmem;
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
// Linux/ChromeOS require a special configuration to use dmabuf storage.
// We need to keep sending frames with the same storage type.
// Other platforms will happily mix GpuMemoryBuffer storage with shared-mem
|