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

update packaging

This commit is contained in:
Luke Pulverenti 2016-03-10 23:25:56 -05:00
parent 709f0726da
commit 0089f44a4d
6 changed files with 23 additions and 13 deletions

View file

@ -47,8 +47,8 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use
function updateDeviceProfileForAndroid(profile) {
// Just here as an easy escape out, if ever needed
var enableVlcVideo = window.VlcAudio;
var enableVlcAudio = true;
var enableVlcVideo = true;
var enableVlcAudio = window.VlcAudio;
if (enableVlcVideo) {
@ -151,6 +151,15 @@ define(['appSettings', 'userSettings', 'appStorage'], function (appSettings, use
Value: '41'
}]
});
profile.TranscodingProfiles.filter(function (p) {
return p.Type == 'Video' && p.VideoCodec == 'h264';
}).forEach(function (p) {
p.AudioCodec += ',ac3';
});
}
if (enableVlcAudio) {