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

fixes #1639 - Odd Transcoding issue (Video gets transcoded eventho it doesn't need to be)

This commit is contained in:
Luke Pulverenti 2016-04-30 14:34:46 -04:00
parent 038bf83aef
commit 209c8abf36

View file

@ -416,6 +416,12 @@ define(['browser'], function (browser) {
]
});
var maxLevel = '41';
if (browser.chrome && !browser.mobile) {
maxLevel = '51';
}
profile.CodecProfiles.push({
Type: 'Video',
Codec: 'h264',
@ -434,7 +440,7 @@ define(['browser'], function (browser) {
{
Condition: 'LessThanEqual',
Property: 'VideoLevel',
Value: '41'
Value: maxLevel
}]
});