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

Apply suggestions from code review

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
Nyanmisaka 2024-09-09 04:33:39 +08:00 committed by GitHub
parent 6660f57d98
commit 10d615c4d0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1070,10 +1070,10 @@ export default function (options) {
if (profiles.includes(8)) {
hevcVideoRangeTypes += '|DOVIWithHDR10|DOVIWithHLG|DOVIWithSDR';
}
}
if (supportsDolbyVision(options) && supportedDolbyVisionProfileAv1(videoTestElement)) {
av1VideoRangeTypes += '|DOVI|DOVIWithHDR10|DOVIWithHLG|DOVIWithSDR';
if (supportedDolbyVisionProfileAv1(videoTestElement)) {
av1VideoRangeTypes += '|DOVI|DOVIWithHDR10|DOVIWithHLG|DOVIWithSDR';
}
}
const h264CodecProfileConditions = [