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

move classes to portable server project

This commit is contained in:
Luke Pulverenti 2016-11-02 16:53:50 -04:00
parent 1c0379bee1
commit c203b7253b
9 changed files with 67 additions and 88 deletions

View file

@ -184,6 +184,10 @@ define(['browser'], function (browser) {
case 'ts':
supported = testCanPlayTs();
videoCodecs.push('h264');
if (canPlayH265()) {
videoCodecs.push('h265');
videoCodecs.push('hevc');
}
profileContainer = 'ts,mpegts';
break;
default:
@ -300,7 +304,7 @@ define(['browser'], function (browser) {
//videoAudioCodecs.push('truehd');
}
videoAudioCodecs = videoAudioCodecs.filter(function(c) {
videoAudioCodecs = videoAudioCodecs.filter(function (c) {
return (options.disableVideoAudioCodecs || []).indexOf(c) === -1;
});