1From 2798f915b0992ed928e9a9a08a78387b4621e793 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 13/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 58f745ee2..74b2379ff 100644 16--- a/media/base/media_switches.cc 17+++ b/media/base/media_switches.cc 18@@ -809,7 +809,7 @@ const base::Feature kChromeOSHWVBREncoding{"ChromeOSHWVBREncoding", 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 // Limit the number of concurrent hardware decoder instances on ChromeOS. 26 const base::Feature kLimitConcurrentDecoderInstances{ 27-- 282.20.1 29 30