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

remove audio channel limit from transcoding conditions

This commit is contained in:
Luke Pulverenti 2016-10-27 23:15:34 -04:00
parent d6c43efc9c
commit 8238bd3e23

View file

@ -404,6 +404,7 @@ define(['browser'], function (browser) {
AudioCodec: videoAudioCodecs.join(','),
VideoCodec: 'h264',
Context: 'Streaming',
MaxAudioChannels: physicalAudioChannels.toString(),
CopyTimestamps: copyTimestamps
});
}
@ -483,8 +484,6 @@ define(['browser'], function (browser) {
}]
});
var videoAudioChannels = browser.tizen ? '8' : '6';
// Handle he-aac not supported
if (!videoTestElement.canPlayType('video/mp4; codecs="avc1.640029, mp4a.40.5"').replace(/no/, '')) {
profile.CodecProfiles.push({
@ -496,11 +495,6 @@ define(['browser'], function (browser) {
Property: 'AudioProfile',
Value: 'HE-AAC'
},
{
Condition: 'LessThanEqual',
Property: 'AudioChannels',
Value: videoAudioChannels
},
{
Condition: 'LessThanEqual',
Property: 'AudioBitrate',
@ -519,11 +513,6 @@ define(['browser'], function (browser) {
profile.CodecProfiles.push({
Type: 'VideoAudio',
Conditions: [
{
Condition: 'LessThanEqual',
Property: 'AudioChannels',
Value: videoAudioChannels
},
{
Condition: 'Equals',
Property: 'IsSecondaryAudio',