1From e3d6c06d7694b638792ee094a0c0b2c1b0e22938 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/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 | 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 fc4504317..71747b851 100644 16--- a/media/base/media_switches.cc 17+++ b/media/base/media_switches.cc 18@@ -926,7 +926,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