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

Merge pull request #1695 from MediaBrowser/dev

Dev
This commit is contained in:
Luke 2016-04-30 15:17:22 -04:00
commit 58ab71befd

View file

@ -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
}] }]
}); });