mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
commit
58ab71befd
1 changed files with 7 additions and 1 deletions
|
@ -416,6 +416,12 @@ define(['browser'], function (browser) {
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var maxLevel = '41';
|
||||||
|
|
||||||
|
if (browser.chrome && !browser.mobile) {
|
||||||
|
maxLevel = '51';
|
||||||
|
}
|
||||||
|
|
||||||
profile.CodecProfiles.push({
|
profile.CodecProfiles.push({
|
||||||
Type: 'Video',
|
Type: 'Video',
|
||||||
Codec: 'h264',
|
Codec: 'h264',
|
||||||
|
@ -434,7 +440,7 @@ define(['browser'], function (browser) {
|
||||||
{
|
{
|
||||||
Condition: 'LessThanEqual',
|
Condition: 'LessThanEqual',
|
||||||
Property: 'VideoLevel',
|
Property: 'VideoLevel',
|
||||||
Value: '41'
|
Value: maxLevel
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue