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

Merge pull request #650 from tikuf/master

Add 480p+ with higher bitrate as default
This commit is contained in:
Luke 2013-12-28 09:57:19 -08:00
commit 4503fbe6cb

View file

@ -1,4 +1,4 @@
(function (document, setTimeout, clearTimeout, screen, localStorage, $, setInterval, window) {
(function (document, setTimeout, clearTimeout, screen, localStorage, $, setInterval, window) {
function mediaPlayer() {
@ -470,7 +470,7 @@
}
else if (videoStream.Width >= 720) {
baseParams.videoBitrate = 420000;
baseParams.videoBitrate = 700000;
}
}
@ -1590,6 +1590,7 @@
}
if (maxAllowedWidth >= 480) {
options.push({ name: '480p+', maxWidth: 720, videoBitrate: 700000 });
options.push({ name: '480p', maxWidth: 720, videoBitrate: 420000 });
}
if (maxAllowedWidth >= 360) {