aboutsummaryrefslogblamecommitdiff
path: root/www/chromium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
blob: 523578c98f7c03c75e34e57db9b3641a43bffc55 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                                                                                       
                                                       
                                                                        







                                                                         
--- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig	2024-05-21 18:07:39 UTC
+++ media/gpu/chromeos/mailbox_video_frame_converter.cc
@@ -65,7 +65,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()) {