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

Use else if just in case safari changed behavior in future

This commit is contained in:
gnattu 2024-08-21 04:50:18 +08:00
parent 0e985c2ffe
commit 6195e11922

View file

@ -582,9 +582,7 @@ export default function (options) {
hlsInTsVideoAudioCodecs.push('opus');
}
hlsInFmp4VideoAudioCodecs.push('opus');
}
if (safariSupportsOpus) {
} else if (safariSupportsOpus) {
videoAudioCodecs.push('opus');
webmAudioCodecs.push('opus');
hlsInFmp4VideoAudioCodecs.push('opus');