From e3d6c06d7694b638792ee094a0c0b2c1b0e22938 Mon Sep 17 00:00:00 2001 From: Jeffy Chen Date: Wed, 16 Mar 2022 12:14:02 +0800 Subject: [PATCH 14/17] HACK: media: Disable chromeos direct video decoder by default Revisit once V4L2 video decoder is supported on linux. Signed-off-by: Jeffy Chen --- media/base/media_switches.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/media/base/media_switches.cc b/media/base/media_switches.cc index fc4504317..71747b851 100644 --- a/media/base/media_switches.cc +++ b/media/base/media_switches.cc @@ -926,7 +926,8 @@ BASE_FEATURE(kChromeOSHWVBREncoding, // TODO(b/159825227): remove when the direct video decoder is fully launched. BASE_FEATURE(kUseChromeOSDirectVideoDecoder, "UseChromeOSDirectVideoDecoder", - base::FEATURE_ENABLED_BY_DEFAULT); + // base::FEATURE_ENABLED_BY_DEFAULT); + base::FEATURE_DISABLED_BY_DEFAULT); // Limit the number of concurrent hardware decoder instances on ChromeOS. BASE_FEATURE(kLimitConcurrentDecoderInstances, -- 2.20.1