aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
blob: 6b1ec820db47e05c124aefb80500b3ffe74345d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig	2024-04-19 13:02:56 UTC
+++ media/gpu/chromeos/mailbox_video_frame_converter.cc
@@ -63,7 +63,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()) {