1From 5ef545e95cdf158131162e686dfdff28fbf131e2 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 14/18] 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 | 3 ++-
12 1 file changed, 2 insertions(+), 1 deletion(-)
13
14diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc
15index c4e128757..b3f1b1069 100644
16--- a/media/base/media_switches.cc
17+++ b/media/base/media_switches.cc
18@@ -1029,7 +1029,8 @@ BASE_FEATURE(kChromeOSHWVBREncoding,
19 // TODO(b/159825227): remove when the direct video decoder is fully launched.
20 BASE_FEATURE(kUseChromeOSDirectVideoDecoder,
21              "UseChromeOSDirectVideoDecoder",
22-             base::FEATURE_ENABLED_BY_DEFAULT);
23+             // base::FEATURE_ENABLED_BY_DEFAULT);
24+             base::FEATURE_DISABLED_BY_DEFAULT);
25
26 // Limit the number of concurrent hardware decoder instances on ChromeOS.
27 BASE_FEATURE(kLimitConcurrentDecoderInstances,
28--
292.20.1
30
31