From cd99b752c51f172835c028846ace388c76f792ab Mon Sep 17 00:00:00 2001 From: nyanmisaka Date: Fri, 20 Nov 2020 17:33:35 +0800 Subject: [PATCH] fix hevc check for fMP4 --- src/scripts/browserDeviceProfile.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/browserDeviceProfile.js b/src/scripts/browserDeviceProfile.js index 73ccff35bd..a6f26cd040 100644 --- a/src/scripts/browserDeviceProfile.js +++ b/src/scripts/browserDeviceProfile.js @@ -467,7 +467,7 @@ import browser from './browser'; const hlsInTsVideoCodecs = []; const hlsInFmp4VideoCodecs = []; - if (browser.safari || browser.tizen || browser.web0s && canPlayHevc(videoTestElement, options)) { + if ((browser.safari || browser.tizen || browser.web0s) && canPlayHevc(videoTestElement, options)) { hlsInFmp4VideoCodecs.push('hevc'); }