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

30 lines
1.2 KiB
Diff

From a9a168fa7befcf55dbb3f2c5a62b0d25a3706128 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/17] 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 0362b7b70..60c69224d 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -794,7 +794,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};
// Limit the number of concurrent hardware decoder instances on ChromeOS.
const base::Feature kLimitConcurrentDecoderInstances{
--
2.20.1