aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
blob: 457b47ba57d26628802220a3b062540be0b579a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig	2024-02-21 00:20:49 UTC
+++ media/gpu/chromeos/mailbox_video_frame_converter.cc
@@ -61,7 +61,7 @@ viz::SharedImageFormat GetSharedImageFormat(gfx::Buffe
                     << static_cast<int>(buffer_format);
       NOTREACHED_NORETURN();
   }
-#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()) {