From 209c8abf36774b3fca8dc7e3b9051d9fbbafbfbd Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sat, 30 Apr 2016 14:34:46 -0400 Subject: [PATCH] fixes #1639 - Odd Transcoding issue (Video gets transcoded eventho it doesn't need to be) --- .../emby-webcomponents/browserdeviceprofile.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js index c50c7aa46b..566d19f137 100644 --- a/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js +++ b/dashboard-ui/bower_components/emby-webcomponents/browserdeviceprofile.js @@ -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 }] });