aboutsummaryrefslogtreecommitdiffstats
path: root/devel/electron35/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
blob: cefe8fb205bcb0990ee989479d7ead9f7c510426 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig	2024-10-16 21:31:33 UTC
+++ media/gpu/chromeos/mailbox_video_frame_converter.cc
@@ -67,7 +67,7 @@ viz::SharedImageFormat GetSharedImageFormat(gfx::Buffe
                     << static_cast<int>(buffer_format);
       NOTREACHED();
   }
-#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
   // If format is true multiplanar format, we prefer external sampler on
   // ChromeOS and Linux.
   if (format.is_multi_plane()) {