new/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_111.0.5563/0002-HACK-media-gpu-v4l2-Allow-V4L2-VEA-on-non-chromeos-p.patch
2025-05-10 21:58:58 +08:00

32 lines
922 B
Diff

From ed24a4fc3052f7aa29e4abb5ba8c7547cf1bdc30 Mon Sep 17 00:00:00 2001
From: Jeffy Chen <jeffy.chen@rock-chips.com>
Date: Mon, 13 Feb 2023 15:30:55 +0800
Subject: [PATCH 02/18] HACK: media: gpu: v4l2: Allow V4L2 VEA on non-chromeos
platform
NOTE(crbug.com/901264):
Encoders use hack for passing offset within a DMA-buf, which is not
supported upstream.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
media/gpu/v4l2/BUILD.gn | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media/gpu/v4l2/BUILD.gn b/media/gpu/v4l2/BUILD.gn
index 23c1961c2..e4e05249b 100644
--- a/media/gpu/v4l2/BUILD.gn
+++ b/media/gpu/v4l2/BUILD.gn
@@ -77,7 +77,7 @@ source_set("v4l2") {
}
}
- if (is_chromeos) {
+ if (true) { # if (is_chromeos) {
sources += [
# TODO(crbug.com/901264): Encoders use hack for passing offset
# within a DMA-buf, which is not supported upstream.
--
2.20.1