aboutsummaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc')
-rw-r--r--devel/electron33/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc29
1 files changed, 0 insertions, 29 deletions
diff --git a/devel/electron33/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc b/devel/electron33/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc
deleted file mode 100644
index 7dfe6950d27c..000000000000
--- a/devel/electron33/files/patch-media_gpu_chromeos_video__decoder__pipeline.cc
+++ /dev/null
@@ -1,29 +0,0 @@
---- media/gpu/chromeos/video_decoder_pipeline.cc.orig 2024-08-14 20:55:06 UTC
-+++ media/gpu/chromeos/video_decoder_pipeline.cc
-@@ -1096,7 +1096,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat(
- }
- #endif
-
--#if BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_VAAPI)
-+#if (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_VAAPI)
- // Linux should always use a custom allocator (to allocate buffers using
- // libva) and a PlatformVideoFramePool.
- CHECK(allocator.has_value());
-@@ -1105,7 +1105,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat(
- // VideoFrame::StorageType of VideoFrame::STORAGE_DMABUFS.
- main_frame_pool_->AsPlatformVideoFramePool()->SetCustomFrameAllocator(
- *allocator, VideoFrame::STORAGE_DMABUFS);
--#elif BUILDFLAG(IS_LINUX) && BUILDFLAG(USE_V4L2_CODEC)
-+#elif (BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)) && BUILDFLAG(USE_V4L2_CODEC)
- // Linux w/ V4L2 should not use a custom allocator
- // Only tested with video_decode_accelerator_tests
- // TODO(wenst@) Test with full Chromium Browser
-@@ -1287,7 +1287,7 @@ VideoDecoderPipeline::PickDecoderOutputFormat(
- << " VideoFrames";
- auxiliary_frame_pool_->set_parent_task_runner(decoder_task_runner_);
-
--#if BUILDFLAG(IS_LINUX)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
- // The custom allocator creates frames backed by NativePixmap, which uses a
- // VideoFrame::StorageType of VideoFrame::STORAGE_DMABUFS.
- auxiliary_frame_pool_->AsPlatformVideoFramePool()->SetCustomFrameAllocator(