new/yocto/meta-rockchip/dynamic-layers/recipes-browser/chromium/chromium_100.0.4896/0014-HACK-media-Disable-chromeos-direct-video-decoder-by-.patch

30 lines
1.1 KiB
Diff
Raw Normal View History

2025-05-10 21:58:58 +08:00
From 4716be83e7ec5be89b9d751678afb3d06b8e1d79 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 14/15] 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 71b1563c8..5c69297ae 100644
--- a/media/base/media_switches.cc
+++ b/media/base/media_switches.cc
@@ -727,7 +727,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 BUILDFLAG(IS_CHROMEOS)
// ChromeOS has one of two VideoDecoder implementations active based on
--
2.20.1