mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Merge pull request #6029 from nyanmisaka/dovi-profile10
Add support for DoVi Profile 10
This commit is contained in:
commit
dafaf4a967
1 changed files with 9 additions and 0 deletions
|
@ -262,6 +262,11 @@ function supportedDolbyVisionProfilesHevc(videoTestElement) {
|
|||
return supportedProfiles;
|
||||
}
|
||||
|
||||
function supportedDolbyVisionProfileAv1(videoTestElement) {
|
||||
// Profile 10 4k@24fps
|
||||
return videoTestElement.canPlayType?.('video/mp4; codecs="dav1.10.06"').replace(/no/, '');
|
||||
}
|
||||
|
||||
function getDirectPlayProfileForVideoContainer(container, videoAudioCodecs, videoTestElement, options) {
|
||||
let supported = false;
|
||||
let profileContainer = container;
|
||||
|
@ -1103,6 +1108,10 @@ export default function (options) {
|
|||
if (profiles.includes(8)) {
|
||||
hevcVideoRangeTypes += '|DOVIWithHDR10|DOVIWithHLG|DOVIWithSDR';
|
||||
}
|
||||
|
||||
if (supportedDolbyVisionProfileAv1(videoTestElement)) {
|
||||
av1VideoRangeTypes += '|DOVI|DOVIWithHDR10|DOVIWithHLG|DOVIWithSDR';
|
||||
}
|
||||
}
|
||||
|
||||
const h264CodecProfileConditions = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue