aboutsummaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc')
-rw-r--r--www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc b/www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
new file mode 100644
index 000000000000..8f7e2fc36a2e
--- /dev/null
+++ b/www/iridium/files/patch-media_gpu_chromeos_mailbox__video__frame__converter.cc
@@ -0,0 +1,11 @@
+--- media/gpu/chromeos/mailbox_video_frame_converter.cc.orig 2023-11-22 14:00:11 UTC
++++ media/gpu/chromeos/mailbox_video_frame_converter.cc
+@@ -59,7 +59,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()) {