Skip to content

Commit

Permalink
Merge pull request #4946 from dmitrylyzo/backport/tizen-remove-h264-1…
Browse files Browse the repository at this point in the history
…0bit

Remove H264 10bit support on Samsung TV (Tizen) (Backport #4797)
  • Loading branch information
thornbill committed Nov 7, 2023
2 parents 6f2e896 + a4d3ba5 commit 81b2680
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/scripts/browserDeviceProfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -848,10 +848,9 @@ export default function (options) {
maxH264Level = 52;
}

if ((browser.tizen
|| videoTestElement.canPlayType('video/mp4; codecs="avc1.6e0033"').replace(/no/, ''))
if (videoTestElement.canPlayType('video/mp4; codecs="avc1.6e0033"').replace(/no/, '')
// These tests are passing in safari, but playback is failing
&& !browser.safari && !browser.iOS && !browser.web0s && !browser.edge && !browser.mobile
&& !browser.safari && !browser.iOS && !browser.web0s && !browser.edge && !browser.mobile && !browser.tizen
) {
h264Profiles += '|high 10';
}
Expand Down

0 comments on commit 81b2680

Please sign in to comment.