new/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_103.0.5060/0013-HACK-media-Disable-chromeos-direct-video-decoder-by-.patch
2025-05-10 21:58:58 +08:00

30 lines
1.1 KiB
Diff

From b0fcb21a1c1b2b0aba7e8aa3cbcc8f5fd97fe1f5 Mon Sep 17 00:00:00 2001
From: Jeffy Chen <jeffy.chen@rock-chips.com>
Date: Wed, 16 Mar 2022 12:14:02 +0800
Subject: [PATCH 13/14] HACK: media: Disable chromeos direct video decoder by
default
Revisit once V4L2 video decoder is supported on linux.
Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
---
media/base/media_switches.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
index 1559ee320..6095719f5 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -778,7 +778,7 @@ const base::Feature kUseRealColorSpaceForAndroidVideo{
// experiment with direct VideoDecoder path on Linux Desktop.
// TODO(b/159825227): remove when the direct video decoder is fully launched.
const base::Feature kUseChromeOSDirectVideoDecoder{
- "UseChromeOSDirectVideoDecoder", base::FEATURE_ENABLED_BY_DEFAULT};
+ "UseChromeOSDirectVideoDecoder", base::FEATURE_DISABLED_BY_DEFAULT};
#if defined(ARCH_CPU_ARM_FAMILY)
// Some architectures have separate image processor hardware that
--
2.20.1