diff options
Diffstat (limited to 'devel/electron18/files/patch-media_video_video__encode__accelerator__adapter.cc')
-rw-r--r-- | devel/electron18/files/patch-media_video_video__encode__accelerator__adapter.cc | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/devel/electron18/files/patch-media_video_video__encode__accelerator__adapter.cc b/devel/electron18/files/patch-media_video_video__encode__accelerator__adapter.cc deleted file mode 100644 index c017562e82e0..000000000000 --- a/devel/electron18/files/patch-media_video_video__encode__accelerator__adapter.cc +++ /dev/null @@ -1,20 +0,0 @@ ---- media/video/video_encode_accelerator_adapter.cc.orig 2022-05-19 05:17:44 UTC -+++ media/video/video_encode_accelerator_adapter.cc -@@ -96,7 +96,7 @@ VideoEncodeAccelerator::Config SetUpVeaConfig( - if (is_rgb) - config.input_format = PIXEL_FORMAT_I420; - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - if (storage_type == VideoFrame::STORAGE_DMABUFS || - storage_type == VideoFrame::STORAGE_GPU_MEMORY_BUFFER) { - if (is_rgb) -@@ -235,7 +235,7 @@ void VideoEncodeAcceleratorAdapter::InitializeInternal - auto vea_config = - SetUpVeaConfig(profile_, options_, format, first_frame->storage_type()); - --#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) -+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) - // Linux/ChromeOS require a special configuration to use dmabuf storage. - // We need to keep sending frames the same way the first frame was sent. - // Other platforms will happily mix GpuMemoryBuffer storage with regular |