aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
blob: 23b8754438a3d7c69333492cf340a3f2ee83d99b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig	2024-01-30 07:53:34 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()) {