1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Also prioritise HEVC for Tizen

This commit is contained in:
FintasticMan 2024-05-29 10:40:47 +02:00
parent 4eeb79b3e1
commit 472fc09a50
No known key found for this signature in database
GPG key ID: A00F1AB6DB1ED386

View file

@ -619,7 +619,7 @@ export default function (options) {
&& (browser.edgeChromium || browser.safari || browser.tizen || browser.web0s || (browser.chrome && (!browser.android || browser.versionMajor >= 105)))) {
// Chromium used to support HEVC on Android but not via MSE
hlsInFmp4VideoCodecs.push('hevc');
if (browser.web0s) {
if (browser.tizen || browser.web0s) {
hlsInTsVideoCodecs.push('hevc');
}
}
@ -632,9 +632,6 @@ export default function (options) {
if (canPlayHevc(videoTestElement, options)) {
mp4VideoCodecs.push('hevc');
if (browser.tizen) {
hlsInTsVideoCodecs.push('hevc');
}
}
if (supportsMpeg2Video()) {