1From ae5bd666cc2d6219a81241ced5ed36feddd24860 Mon Sep 17 00:00:00 2001
2From: Jeffy Chen <jeffy.chen@rock-chips.com>
3Date: Wed, 16 Mar 2022 12:14:02 +0800
4Subject: [PATCH 16/17] HACK: media: Disable chromeos direct video decoder by
5 default
6
7Revisit once V4L2 video decoder is supported on linux.
8
9Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
10---
11 media/base/media_switches.cc | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
15index a15162b9..27d5a659 100644
16--- a/media/base/media_switches.cc
17+++ b/media/base/media_switches.cc
18@@ -711,7 +711,7 @@ const base::Feature kUseRealColorSpaceForAndroidVideo{
19 // experiment with direct VideoDecoder path on Linux Desktop.
20 // TODO(b/159825227): remove when the direct video decoder is fully launched.
21 const base::Feature kUseChromeOSDirectVideoDecoder{
22-    "UseChromeOSDirectVideoDecoder", base::FEATURE_ENABLED_BY_DEFAULT};
23+    "UseChromeOSDirectVideoDecoder", base::FEATURE_DISABLED_BY_DEFAULT};
24
25 #if defined(OS_CHROMEOS)
26 // ChromeOS has one of two VideoDecoder implementations active based on
27--
282.17.1
29
30